You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by GitBox <gi...@apache.org> on 2022/11/18 09:17:01 UTC

[GitHub] [velocity-tools] arkanovicz commented on pull request #13: VELTOOLS-184

arkanovicz commented on PR #13:
URL: https://github.com/apache/velocity-tools/pull/13#issuecomment-1319738744

   I see in StringEscapeUtils the following comment for `escapeEcmaScript()`:
   
   > The only difference between Java strings and EcmaScript strings
   > is that in EcmaScript, a single quote and forward-slash (/) are escaped.
   
   Is that what we want for json? Isn't it more pertinent to just call `escapeJava()`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org