diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-07-05 19:55:04 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-07-05 19:55:04 +0100 |
| commit | ed72ba702ca03423a246ecfe835d68d0b31f1623 (patch) | |
| tree | 45c19d210136363a37edcc3a05ee85ae62173f95 /app | |
| parent | 5b64d6de6b94e356e43397690c4a1577e46c7d9b (diff) | |
| download | webtrees-ed72ba702ca03423a246ecfe835d68d0b31f1623.tar.gz webtrees-ed72ba702ca03423a246ecfe835d68d0b31f1623.tar.bz2 webtrees-ed72ba702ca03423a246ecfe835d68d0b31f1623.zip | |
Fix: #3946 - wrong variable
Diffstat (limited to 'app')
| -rw-r--r-- | app/Functions/FunctionsPrint.php | 2 |
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('…')); |
