quote issue in autocomplete script

Post here questions and problems related to editing and publishing DITA content.
Tristan
Posts: 30
Joined: Tue Jun 02, 2015 2:01 pm

quote issue in autocomplete script

Post 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
radu_pisoi
Posts: 403
Joined: Thu Aug 21, 2003 11:36 am
Location: Craiova
Contact:

Re: quote issue in autocomplete script

Post 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.
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply