Issue Type: Bug Bug
Assignee: ikedam
Components: core
Created: 19/Mar/15 12:16 PM
Description:

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:

  1. Create a new free style project.
  2. Check "This build is parameterized"
  3. Add "Choice Parameter":
    • Name: PARAM1
    • Choices
      value1
      
      value2
      
      value3
      
  4. Save the project configuration.
  5. Click "configuration" and go to the project configuration page again.
  6. Choices of PARAM1 gets like this:
    value1
    
    value2
    
    value3
    
    • The empty line at the beginning is removed!
Environment: Jenkins 1.605
Project: Jenkins
Priority: Minor Minor
Reporter: ikedam
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to