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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: