Skip to content

Commit

Permalink
Add help text for Markup Formatter setting (#9038)
Browse files Browse the repository at this point in the history
* Restore help text for Markup Formatter setting

* Update core/src/main/resources/hudson/security/GlobalSecurityConfiguration/help-markupFormatter.html

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>

* mvn -pl war frontend:yarn -Dfrontend.yarn.arguments=lint:fix

---------

Co-authored-by: Daniel Beck <daniel-beck@users.noreply.github.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
  • Loading branch information
3 people committed Mar 14, 2024
1 parent 5bc99ad commit 1da7c9c
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 86 deletions.
@@ -0,0 +1,37 @@
<div>
<p>
Jenkins shows user-provided descriptions on objects like jobs, views, or
builds. The markup formatter controls how those descriptions are rendered.
</p>
<p>
&ldquo;Plain text&rdquo; is the default formatter and renders the provided
description largely as entered.
</p>
<p>
Plugins may contribute additional markup formatters that support HTML or
other markup languages.
</p>
<p>
<strong>Note:</strong>
Some descriptions can be provided from possibly unexpected sources. Some
examples:
</p>
<ul>
<li>any user with an account in Jenkins can set their own description</li>
<li>
Pipelines, as well as build steps for other job types, may be configured
to set the current build's description
</li>
</ul>
<p>
Using a markup formatter that renders user input verbatim as HTML may allow
<a
href="https://en.wikipedia.org/wiki/Cross-site_scripting"
target="_blank"
rel="noopener noreferrer"
>
cross-site scripting
</a>
attacks.
</p>
</div>

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 1da7c9c

Please sign in to comment.