From a4d3f4b4dfdba3538de183a9daeb1c909fdd1afe Mon Sep 17 00:00:00 2001 From: David Cramer Date: Sun, 9 Oct 2011 02:49:50 +0000 Subject: [PATCH] Only index text if inside id='content' --- .../src/com/nexwave/nquindexer/SaxDocFileParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xsl-webhelpindexer/src/com/nexwave/nquindexer/SaxDocFileParser.java b/xsl-webhelpindexer/src/com/nexwave/nquindexer/SaxDocFileParser.java index 9ebec1016..ca202f06e 100755 --- a/xsl-webhelpindexer/src/com/nexwave/nquindexer/SaxDocFileParser.java +++ b/xsl-webhelpindexer/src/com/nexwave/nquindexer/SaxDocFileParser.java @@ -206,7 +206,7 @@ public class SaxDocFileParser extends org.xml.sax.helpers.DefaultHandler { //OXYGEN PATCH, gather more keywords. if ( -// (addContent || addHeaderInfo) && + (addContent || addHeaderInfo) && // DWC: Oxygen Patch had this line commented out but we need it for DocBook to keep toc from being indexed. !doNotIndex && !currentElName.equalsIgnoreCase("script")) { String text = new String(ch, start, length); // START OXYGEN PATCH, append a marker after each word -- 2.40.0