aboutsummaryrefslogtreecommitdiff
path: root/test/html_test.exs
AgeCommit message (Collapse)Author
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