|
|
@@ -62,7 +62,9 @@ public class EnhancementService {
|
|
|
}
|
|
|
|
|
|
return cleanDoc.body().html()
|
|
|
- .replaceAll(">\\s+<", "><") // remove spaces between tags
|
|
|
+ .replace(" ", "")
|
|
|
+ .replaceAll("<!--.*?-->", "")
|
|
|
+ .replaceAll(">\\s+<", "><") // remove spaces between tags
|
|
|
.trim();
|
|
|
}
|
|
|
}
|