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

HTML escaped in JaCoCo Coverage Report

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Component/s: jacoco-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 1.642
      Jacoco-Tool: 0.7.5
      Jacoco-Plugin: 2.0.0
      (any browser)
    • Similar Issues:

      Description

      Jacoco-Coverage Report shows HTML tags for the table cells (td) instead of the visual table.
      It seems as those content is escaped and displayed as text. The coverage trend view and other diagrams are correct as well as the generated data itself.

        Attachments

          Issue Links

            Activity

            Hide
            danielbeck Daniel Beck added a comment -

            Could be that the plugin (stupidly) relies on the markup formatter configured in Jenkins (Manage Jenkins » Configure Global Security), whose default has been changed from "Safe HTML" to "plain text" about two years ago.

            Show
            danielbeck Daniel Beck added a comment - Could be that the plugin (stupidly) relies on the markup formatter configured in Jenkins (Manage Jenkins » Configure Global Security), whose default has been changed from "Safe HTML" to "plain text" about two years ago.
            Hide
            beatjost Beat Jost added a comment -

            I just changed this setting from 'plain test' to 'raw html' - but without any success (or do you have to restart or something like that)?

            Show
            beatjost Beat Jost added a comment - I just changed this setting from 'plain test' to 'raw html' - but without any success (or do you have to restart or something like that)?
            Hide
            danielbeck Daniel Beck added a comment -

            In that case I was completely wrong (and the plugin isn't stupid after all )

            Show
            danielbeck Daniel Beck added a comment - In that case I was completely wrong (and the plugin isn't stupid after all )

              People

              • Assignee:
                ognjenb Ognjen Bubalo
                Reporter:
                beatjost Beat Jost
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: