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

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
emanuelez created JENKINS-12855:
-----------------------------------

             Summary: Unnecessary character escapes in Groovy views script
                 Key: JENKINS-12855
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12855
             Project: Jenkins
          Issue Type: Bug
          Components: core
    Affects Versions: current
            Reporter: emanuelez


in a groovy view somthing like:

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

will be converted to:

for(i = 0; i &lt; 10; i++)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159433#comment-159433 ]

emanuelez commented on JENKINS-12855:
-------------------------------------

and we of cours want it to stay a < instead
               

> Unnecessary character escapes in Groovy views script
> ----------------------------------------------------
>
>                 Key: JENKINS-12855
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12855
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: emanuelez
>              Labels: groovy, views
>
> in a groovy view somthing like:
> script("""
> for(i = 0; i < 10; i++)
> """)
> will be converted to:
> for(i = 0; i &lt; 10; i++)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

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

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

    [ https://issues.jenkins-ci.org/browse/JENKINS-12855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159432#comment-159432 ]

emanuelez commented on JENKINS-12855:
-------------------------------------

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

> Unnecessary character escapes in Groovy views script
> ----------------------------------------------------
>
>                 Key: JENKINS-12855
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12855
>             Project: Jenkins
>          Issue Type: Bug
>          Components: core
>    Affects Versions: current
>            Reporter: emanuelez
>              Labels: groovy, views
>
> in a groovy view somthing like:
> script("""
> for(i = 0; i < 10; i++)
> """)
> will be converted to:
> for(i = 0; i &lt; 10; i++)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Loading...