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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • cobertura-plugin
    • None
    • Platform: All, OS: All

    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

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

            Dates

              Created:
              Updated:
              Resolved: