1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 04:35:57 +00:00

Fixed linkify of pre formatted text

This commit is contained in:
M66B 2019-09-21 18:21:49 +02:00
parent fc88c720a3
commit 2e299494dd

View file

@ -340,7 +340,7 @@ public class HtmlHelper {
public void head(Node node, int depth) {
if (links < MAX_AUTO_LINK && node instanceof TextNode) {
TextNode tnode = (TextNode) node;
String text = tnode.text();
String text = tnode.getWholeText();
Matcher matcher = pattern.matcher(text);
if (matcher.find()) {