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

Unnecessary character escapes in Groovy views script

    Details

    • Similar Issues:

      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

          Hide
          emanuelez emanuelez added a comment -

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

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

          and we of cours want it to stay a < instead

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

          Show
          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

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

              Dates

              • Created:
                Updated:
                Resolved: