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

Attribute like e.g. class gets lost from HTML code in description fields

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      After upgrading the markup formatter plugin from 1.8 to 2.0 HTML code in system message, job description, build description and testresult description fields loses attributes like for example class attributes.

      We use these HTML descriptions a lot and also use the Simple Theme Plugin to style them. Without CSS classes this is not really possible.

        Attachments

          Activity

          Hide
          wolterhis Lars added a comment -

          Why was this issue changed from "bug" to "improvement"? It worked before and is broken now and there was no need to change it. So it's a bug.

          Show
          wolterhis Lars added a comment - Why was this issue changed from "bug" to "improvement"? It worked before and is broken now and there was no need to change it. So it's a bug.
          Hide
          akom Alexander Komarov added a comment - - edited

          Likewise affected. 

          Now, to style my job descriptions I need to use the Simple Theme plugin, but since I can't add class to a div anymore, I need to use selectors like 

            div#description>div>div:nth-child(2)

          to style them.  Or, I suppose, I can switch to using style="" since all my job descriptions are generated with Job DSL anyway.

          Show
          akom Alexander Komarov added a comment - - edited Likewise affected.  Now, to style my job descriptions I need to use the Simple Theme plugin, but since I can't add  class to a  div anymore, I need to use selectors like    div#description>div>div:nth-child(2) to style them.  Or, I suppose, I can switch to using  style="" since all my job descriptions are generated with Job DSL anyway.
          Hide
          wojciechb2 Wojciech Beczala added a comment -

          Guys any update on that issue?
          We have the same problem and I'm looking for workaround since we can not use CSS classes.

          Show
          wojciechb2 Wojciech Beczala added a comment - Guys any update on that issue? We have the same problem and I'm looking for workaround since we can not use CSS classes.
          Hide
          wolterhis Lars added a comment -

          No reaction? Seriously?

          Show
          wolterhis Lars added a comment - No reaction? Seriously?

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            wolterhis Lars
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: