summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-07-05 19:55:04 +0100
committerGreg Roach <greg@subaqua.co.uk>2021-07-05 19:55:04 +0100
commited72ba702ca03423a246ecfe835d68d0b31f1623 (patch)
tree45c19d210136363a37edcc3a05ee85ae62173f95 /app
parent5b64d6de6b94e356e43397690c4a1577e46c7d9b (diff)
downloadwebtrees-ed72ba702ca03423a246ecfe835d68d0b31f1623.tar.gz
webtrees-ed72ba702ca03423a246ecfe835d68d0b31f1623.tar.bz2
webtrees-ed72ba702ca03423a246ecfe835d68d0b31f1623.zip
Fix: #3946 - wrong variable
Diffstat (limited to 'app')
-rw-r--r--app/Functions/FunctionsPrint.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Functions/FunctionsPrint.php b/app/Functions/FunctionsPrint.php
index 4ba4907a5a..74f088895c 100644
--- a/app/Functions/FunctionsPrint.php
+++ b/app/Functions/FunctionsPrint.php
@@ -97,7 +97,7 @@ class FunctionsPrint
$label = I18N::translate('Note');
$html = Registry::markdownFactory()->markdown($tree)->convertToHtml($text);
- [$first_line] = explode("\n", strip_tags($text));
+ [$first_line] = explode("\n", strip_tags($html));
// Use same logic as note objects
$first_line = Str::limit($first_line, 100, I18N::translate('…'));