fixed hilights to pass test

This commit is contained in:
Jindra Petk
2013-09-15 12:32:02 +02:00
parent 505d91704c
commit 93d43cbf3c

View File

@@ -273,7 +273,7 @@ public class Highlighting implements Serializable {
* @return Text with no highlights
*/
public static String stripHilights(String text) {
text = text.replace("\r\n", "\n");
//text = text.replace("\r\n", "\n");
List<HilightToken> tokens = getHilightTokens(text);
StringBuilder ret = new StringBuilder();
for (HilightToken token : tokens) {