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

Source renderer drops \n and \r (possibly others)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cobertura-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      I have some Java code that looks like this:

      if ( foo.endsWith( "\n" ) ) ...

      When rendered in the source view for the Cobertura plugin, I see only:

      if ( foo.endsWith( "" ) ) ...

      Seems like there's some overly aggressive encoding going on there.

        Attachments

          Activity

            People

            • Assignee:
              mindless Alan Harder
              Reporter:
              brandond brandond
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: