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()) {