Page 1 of 1
WebHelp Search does not find title containing angle brackets
Posted: Thu Jul 04, 2013 10:17 pm
by AJOwens
I'm using DITA to document some XML. I've noticed that if the title contains angle brackets (As in
Code: Select all
<title>Using the <Line> element</title>
, the title is not included in the Search results. There is some text from the topic, but no title and no link.
Re: WebHelp Search does not find title containing angle brac
Posted: Fri Jul 05, 2013 10:40 am
by sorin_ristache
Hi,
Any word between angle brackets is handled as an HTML tag (which it shouldn't be, of course!) which in your case (
<Line>) is ignored because it does not have HTML meaning. We will fix the problem in the next maintenance build. For fixing the problem yourself please replace the following line:
Code: Select all
var tempTitle = tempInfo.substring(pos1 + 3, pos2);
with this line:
Code: Select all
var tempTitle = tempInfo.substring(pos1 + 3, pos2)
.replace(/</g, "<").replace(/>/g, ">");
in the file:
Code: Select all
[Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\oxygen-webhelp\search\nwSearchFnt.js
Regards,
Sorin
Re: WebHelp Search does not find title containing angle brac
Posted: Tue Jul 23, 2013 4:08 pm
by ionela
Hello,
I just wanted to let you know that this problem has been resolved in the latest maintenance build of Oxygen 15.0, 2013071613 (released on July 16th):
WebHelp: The search did no locate words placed between the characters < and > in titles.
You can download it from our web site:
http://www.oxygenxml.com/download.html
The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2013071613
You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml
Let us know if you encounter further problems with this new build.
Regards,
Ionela