From a2c3b98b877d0bba8717dc9a41e5cf1ac1d5e5ac Mon Sep 17 00:00:00 2001 From: shalousun Date: Thu, 18 Nov 2021 23:50:08 +0800 Subject: [PATCH] fix search title error --- src/main/java/com/power/doc/function/RemoveLineBreaks.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/power/doc/function/RemoveLineBreaks.java b/src/main/java/com/power/doc/function/RemoveLineBreaks.java index 184e5e3..5eb2fd5 100644 --- a/src/main/java/com/power/doc/function/RemoveLineBreaks.java +++ b/src/main/java/com/power/doc/function/RemoveLineBreaks.java @@ -11,7 +11,6 @@ public class RemoveLineBreaks implements Function { @Override public String call(Object[] paras, Context ctx) { String str = String.valueOf(paras[0]) - .replaceAll(" ","") .replaceAll("\n", " ") .replaceAll("\r"," "); return str;