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

Long hyperlinks in build description not displayed correctly in history widget when using Markdown syntax

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • Firefox 24
      Jenkins 1.509.3
      PegDown Formatter plugin 1.3
    • 2.198

      Use case:
      I want build description to contain two links separated by a space: "link1 link2". Link texts, "link1" and "link2", are at most ten characters each.

      What works:
      HTML links, i.e. "<a href="url">link text</a>", seem to work in all cases. Markdown links, i.e. "[link text](url)", seem to work on build page. Markdown links work also on project page (build history table) if they are short enough.

      What does not work:
      Markdown links do not display correctly on project page if the url is too long. I have seen two invalid representations 1) "link1..." where the link1 was ok, but the second link was missing. 2) "[link1](part-of-the-url..." where url was partially visible (consuming three lines), and the second link was missing.

      I have used Description Setter plugin and Jenkins CLI with same results.

      Configuration:
      PegDown is selected as Markup Formatter in Global Security and all extensions have been enabled. (With this fix, I could also check SUPPRESS_ALL_HTML.)

          [JENKINS-19760] Long hyperlinks in build description not displayed correctly in history widget when using Markdown syntax

          Sami Salonen created issue -
          Sami Salonen made changes -
          Component/s New: www [ 15484 ]
          Daniel Beck made changes -
          Component/s Original: www [ 15484 ]
          Component/s Original: pegdown-formatter-plugin [ 15899 ]
          Assignee Original: bap [ bap ]
          Labels Original: build-description html markdown pegdown New: markup-formatter
          Summary Original: Long hyperlinks in build description not displayed correctly on project page when using Markdown syntax New: Long hyperlinks in build description not displayed correctly in history widget when using Markdown syntax
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 151279 ] New: JNJira + In-Review [ 177903 ]
          Marat Radchenko made changes -
          Remote Link New: This issue links to "PR#4209 (Web Link)" [ 23725 ]
          Marat Radchenko made changes -
          Released As New: 2.198
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Fixed but Unreleased [ 10203 ]
          Marat Radchenko made changes -
          Link New: This issue is duplicated by JENKINS-31209 [ JENKINS-31209 ]
          Marat Radchenko made changes -
          Status Original: Fixed but Unreleased [ 10203 ] New: Resolved [ 5 ]

            danielbeck Daniel Beck
            salsa Sami Salonen
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: