pmd html escapes are lost in rendering

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Critical
    • Component/s: violations-plugin
    • None
    • Environment:
      Platform: PC, OS: Linux

      Hi all,

      The violations plugin seems to render Strings as regular html, even though pmd
      escaped it in its output.
      e.g. our pmd test reports the following:
      <pre>
      The String literal "<input type=\"radio\" name=\""
      appears 4 times in this file; the first occurrence is on line 382
      </pre>
      This is reported as The String literal "<input type= "radio" name= "" appears 4
      times in this file; the first occurrence is on line 382

      I didn't look at the plugin code yet, it may be a quick fix. If so I'll submit a
      patch

      violations version 0.7.0
      hudson version 1.235

      greets,
      Wim

            Assignee:
            peterkittreilly
            Reporter:
            sorokh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: