Page 1 of 1

quote issue in autocomplete script

Posted: Fri Apr 14, 2017 12:58 pm
by Tristan
When a quote appears in for example a dita <title> element, the quote gets not escaped upon creation of the keywords.js file used by the new autocomplete script in webhelp.

Example

Code: Select all

<title>the "great awesome" title</title>
results in keywords.js into

Code: Select all

{w:""great",p:["p7"]},{w:"awesome"",p:["p7","p8","p9"]}
which generates a syntax error in browser due to assumed missing }
This prevents the entire autocomplete script from even running.

Can this be fixed?

Thanks,

Tristan

Re: quote issue in autocomplete script

Posted: Fri Apr 14, 2017 1:31 pm
by radu_pisoi
Hi,

This problem was already solved and a fix will be included in the next maintenance build. More probably, it will be available in the next week.

In the meantime, please contact us on support@oxygenxml.com if you want a patch for this issue.

Thank you for reporting this problem.