targetExtension.equals("txt") || targetExtension.equals("xml")) {
String targetContent = HtmlUtil.escape(StringUtil.read(targetIs));
targetIs = new UnsyncByteArrayInputStream(
targetContent.getBytes(StringPool.UTF8));
}
<BUG>String targetVersion = targetFileVersion.getVersion();
String sourceVersion = sourceFileVersion.getVersion();</BUG>
if (DocumentConversionUtil.isEnabled()) {
if (DocumentConversionUtil.isConvertBeforeCompare(
sourceExtension)) {

targetExtension.equals("txt") || targetExtension.equals("xml")) {
String targetContent = HtmlUtil.escape(StringUtil.read(targetIs));
targetIs = new UnsyncByteArrayInputStream(
targetContent.getBytes(StringPool.UTF8));
}
if (DocumentConversionUtil.isEnabled()) {
if (DocumentConversionUtil.isConvertBeforeCompare(
sourceExtension)) {
