修改文档对比-条目对比高亮

This commit is contained in:
gaosong
2022-09-07 20:04:24 +08:00
parent 56b92a9568
commit fbf68a9fa7
@@ -2229,6 +2229,9 @@ public class DiffUtils {
}
public List<String> getHtmlDiffStr(String text1,String text2){
text1 = text1.replaceAll("<img.*\\>", "");
text2 = text2.replaceAll("<img.*\\>", "");
LinkedList<Diff> diffs = diff_main(text1, text2);
//定义输出结果
String LResultStr="";