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

Unnecessary character escapes in Groovy views script

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • core

      in a groovy view somthing like:

      script("""
      for(i = 0; i < 10; i++)
      """)

      will be converted to:

      for(i = 0; i < 10; i++)

          [JENKINS-12855] Unnecessary character escapes in Groovy views script

          emanuelez added a comment -

          the second < should be escaped with (without spaces) & lt ;

          emanuelez added a comment - the second < should be escaped with (without spaces) & lt ;

          emanuelez added a comment -

          and we of cours want it to stay a < instead

          emanuelez added a comment - and we of cours want it to stay a < instead

          Daniel Beck added a comment -

          This report makes no sense. There is no "Groovy View" in the core distribution. If this is about a plugin, please specify that as issue component.

          The comments also seem to contradict each other.

          Daniel Beck added a comment - This report makes no sense. There is no "Groovy View" in the core distribution. If this is about a plugin, please specify that as issue component. The comments also seem to contradict each other.

            Unassigned Unassigned
            emanuelez emanuelez
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: