aboutsummaryrefslogtreecommitdiff
path: root/test/html_test.exs
AgeCommit message (Collapse)Author
2020-06-29excluding attachment links from RichMediaAlexander Strizhakov
2020-05-13Add OpenAPI spec for StatusControllerEgor Kislitsyn
2020-03-03Update CopyrightsMark Felder
2019-11-29Fix Pleroma.HTML.extract_first_external_url/2Egor Kislitsyn
2019-10-29Switch from HtmlSanitizeEx to FastSanitizerinpatch
2019-09-18Bump copyright years of files changed in 2019Haelwenn (lanodan) Monnier
Done via the following command: git diff 1e6c102bfcfe0e4835a48f2483f2376f9bf86a20 --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
2019-06-19Rich Media: Skip Microformats hashtagsrinpatch
When fixing this problem I incorrectly assumed a.hashtag is the proper way for detecting hashtags, but it is just something Pleroma and Mastodon add. Per microformats it should be detected by the presense of rel=tag. This MR adds a check for rel=tag, but I still left a.hashtag just in case
2019-06-14Fix hashtags being picked up by rich media parserrinpatch
Closes #989
2019-04-23html: lock down allowed class attributes to only those related to microformatsWilliam Pitcock
2019-03-17Allow 'rel' attribute on `<a>` link with specific values (for hashtag ↵Fong-Wan Chau
recognition).
2018-12-23tests: add legal boilerplateWilliam Pitcock
2018-09-22test: add smoketests for the scrubbing policiesWilliam Pitcock