[ 
https://issues.apache.org/jira/browse/VCL-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640567#comment-14640567
 ] 

Josh Thompson commented on VCL-888:
-----------------------------------

I decided to go a different route with this. I think it will work better to 
create a wrapper function for the _() function that converts any single quotes 
to the html equivalent. Then, change all calls the _() function to call the 
wrapper instead.

> problem with translations containing single quotes
> --------------------------------------------------
>
>                 Key: VCL-888
>                 URL: https://issues.apache.org/jira/browse/VCL-888
>             Project: VCL
>          Issue Type: Bug
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.4.3
>
>
> There are parts of the code where a string is sent in single quotes as 
> javascript in response to an AJAX call. If the string is translated into 
> something that contains single quotes, javascript throws an error. The 
> translated string needs to have single quotes escaped.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to