Browse Source

Fixed html comments

main
M66B 6 years ago
parent
commit
a1aee23488
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/src/main/java/eu/faircode/email/HtmlHelper.java

+ 1
- 0
app/src/main/java/eu/faircode/email/HtmlHelper.java View File

@ -52,6 +52,7 @@ public class HtmlHelper implements NodeVisitor {
String name = node.nodeName(); String name = node.nodeName();
if (node instanceof TextNode) { if (node instanceof TextNode) {
String text = ((TextNode) node).text(); String text = ((TextNode) node).text();
text = Html.escapeHtml(text);
Matcher matcher = pattern.matcher(text); Matcher matcher = pattern.matcher(text);
while (matcher.find()) { while (matcher.find()) {
String ref = matcher.group(); String ref = matcher.group();


Loading…
Cancel
Save