diff options
author | faried nawaz <faried@gmail.com> | 2023-03-06 02:31:31 +0500 |
---|---|---|
committer | faried nawaz <faried@gmail.com> | 2023-03-06 02:38:02 +0500 |
commit | 141146d1f11a0a6581cc3161547ea597c92d56e9 (patch) | |
tree | ac8c5f5a83e38d6c03e58faaedb7b000b609202e /test/support/helpers.ex | |
parent | 86ee4b72f3a54016bcc7e7f3ea8c386eca34e4b0 (diff) | |
download | pleroma-141146d1f11a0a6581cc3161547ea597c92d56e9.tar.gz pleroma-141146d1f11a0a6581cc3161547ea597c92d56e9.zip |
use scrub_html_and_truncate instead of scrub_html for feed item title
Sometimes this truncated properly encoded HTML entities in the
wrong place. The new flow calls scrub_html, removes emojis,
decodes entities (a second time), truncates, and then re-encodes.
Fixes #3045.
Diffstat (limited to 'test/support/helpers.ex')
0 files changed, 0 insertions, 0 deletions