修改文档对比-条目对比高亮
This commit is contained in:
+3
@@ -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="";
|
||||
|
||||
Reference in New Issue
Block a user