quote issue in autocomplete script
Posted: Fri Apr 14, 2017 12:58 pm
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
results in keywords.js into
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
Example
Code: Select all
<title>the "great awesome" title</title>
Code: Select all
{w:""great",p:["p7"]},{w:"awesome"",p:["p7","p8","p9"]}
This prevents the entire autocomplete script from even running.
Can this be fixed?
Thanks,
Tristan