Commit 5b39f263 by 段启岩

动态删除行为换行

parent 5524ec12
......@@ -27,6 +27,9 @@ public class TopicUtils {
public static String encodeTopic(String str) {
Assert.hasText(str, "str must not be empty");
str = str.replaceAll(tailLFPattern.pattern(), "");
Matcher matcher = topicPattern.matcher(str);
StringBuffer buffer = new StringBuffer();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment