Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) trying to set document title properly

theli285936d778e2
diff --git a/source/de/anomic/plasma/parser/rtf/rtfParser.java b/source/de/anomic/plasma/parser/rtf/rtfParser.java
index bdde6de98..329605cce 100644
--- a/source/de/anomic/plasma/parser/rtf/rtfParser.java
+++ b/source/de/anomic/plasma/parser/rtf/rtfParser.java
@@ -95,7 +95,11 @@ implements Parser {
location,
mimeType,
null,
- null,
+ ((bodyText.length() > 80)? bodyText.substring(0, 80):bodyText.trim()).
+ replaceAll("\r\n"," ").
+ replaceAll("\n"," ").
+ replaceAll("\r"," ").
+ replaceAll("\t"," "),
null,
null,
null,