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

Unnecessary character escapes in Groovy views script

    XMLWordPrintable

Details

    Description

      in a groovy view somthing like:

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

      will be converted to:

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

      Attachments

        Activity

          emanuelez emanuelez added a comment -

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

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

          and we of cours want it to stay a < instead

          emanuelez emanuelez added a comment - and we of cours want it to stay a < instead
          danielbeck 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.

          danielbeck 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.

          People

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

            Dates

              Created:
              Updated:
              Resolved: