Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-27505

A blank line in the beginning of a textarea is removed

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Jenkins 1.605
    • Similar Issues:

      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!

        Attachments

          Issue Links

            Activity

            ikedam ikedam created issue -
            ikedam ikedam made changes -
            Field Original Value New Value
            Remote Link This issue links to "PR-1612 (Web Link)" [ 12172 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-33254 [ JENKINS-33254 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 161714 ] JNJira + In-Review [ 196848 ]
            benapgar Ben Apgar made changes -
            Link This issue relates to JENKINS-25681 [ JENKINS-25681 ]
            benapgar Ben Apgar made changes -
            Link This issue relates to JENKINS-8539 [ JENKINS-8539 ]

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                ikedam ikedam
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: