OSDN Git Service

Add logic to display stacks in notebook tree
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / threads / IndexRunner.java
index a8cab67..62820c2 100644 (file)
@@ -142,7 +142,8 @@ public class IndexRunner extends QObject implements Runnable {
                ByteArrayInputStream is = new ByteArrayInputStream(html);\r
                ByteArrayOutputStream os = new ByteArrayOutputStream();\r
                tidy.parse(is, os);\r
-               String text =  StringEscapeUtils.unescapeHtml(os.toString().replaceAll("\\<.*?\\>", ""));\r
+               String text =  StringEscapeUtils.unescapeHtml(os.toString().replaceAll("\\<.*?\\>", "")) +" "+\r
+               n.getTitle();\r
                                \r
                logger.log(logger.EXTREME, "Splitting words");\r
                String[] result = text.toString().split(regex);\r