Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add help text for Markup Formatter setting (#9038)
* 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
1 parent
5bc99ad
commit 1da7c9c
Showing
6 changed files
with
37 additions
and
86 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
.../src/main/resources/hudson/security/GlobalSecurityConfiguration/help-markupFormatter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> | ||
“Plain text” 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> |
17 changes: 0 additions & 17 deletions
17
core/src/main/resources/jenkins/model/Jenkins/help-markupFormatter.html
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
core/src/main/resources/jenkins/model/Jenkins/help-markupFormatter_bg.html
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
core/src/main/resources/jenkins/model/Jenkins/help-markupFormatter_it.html
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
core/src/main/resources/jenkins/model/Jenkins/help-markupFormatter_ja.html
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
core/src/main/resources/jenkins/model/Jenkins/help-markupFormatter_zh_TW.html
This file was deleted.
Oops, something went wrong.