-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Jenkins 1.605
A blank line in the beginning of a textarea is removed.
It is caused for the specification of HTML:
http://www.w3.org/TR/html5/syntax.html#syntax-newlines
A single newline may be placed immediately after the start tag of pre and textarea elements. If the element's contents are intended to start with a newline, two consecutive newlines thus need to be included by the author.
(I could not found the description in HTML4.01)
How to reproduce an issue:
- Create a new free style project.
- Check "This build is parameterized"
- Add "Choice Parameter":
- Name: PARAM1
- Choices
value1 value2 value3
- Save the project configuration.
- Click "configuration" and go to the project configuration page again.
- Choices of PARAM1 gets like this:
value1 value2 value3
- The empty line at the beginning is removed!
- is related to
-
JENKINS-33254 Promoting Builds fail with: FATAL: Illegal choice:
- Resolved
- relates to
-
JENKINS-25681 Choice Parameter - Empty option is saved but deleted when editing job next time
- Resolved
-
JENKINS-8539 If first choice is a blank line, it gets removed when returning to Configure the project
- Closed
- links to