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

HTML in description is always escaped

    Details

    • Similar Issues:

      Description

      HTMLs in the description is no longer displayed without escaping for SECURITY-353.

      To fix:

      • use `ParameterDefinition#getFormattedDescription` introduced in Jenkins-1.521.
        • 1.532 is the least LTS.
      • Set `escapeEntryTitleAndDescription` to false.

      It might be useful if itroducing the previewing feature like this:

          <f:textarea name="parameter.description" value="${instance.description}" codemirror-mode="${app.markupFormatter.codeMirrorMode}" codemirror-config="${app.markupFormatter.codeMirrorConfig}" previewEndpoint="/markupFormatter/previewDescription" />
      
      • This is introduced since Jenkins-1.554.

        Attachments

          Issue Links

            Activity

            ikedam ikedam created issue -
            mmh19891113 bright.ma made changes -
            Field Original Value New Value
            Attachment image-2017-03-27-13-47-34-456.png [ 36778 ]
            ikedam ikedam made changes -
            Link This issue is duplicated by JENKINS-43381 [ JENKINS-43381 ]
            ikedam ikedam made changes -
            Link This issue is duplicated by JENKINS-43381 [ JENKINS-43381 ]
            ikedam ikedam made changes -
            Link This issue is related to JENKINS-43381 [ JENKINS-43381 ]
            ikedam ikedam made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            ikedam ikedam made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                ikedam ikedam
                Reporter:
                ikedam ikedam
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: