summaryrefslogtreecommitdiff
path: root/internal/text/caption_test.go
AgeCommit message (Collapse)AuthorFiles
2022-05-26[bugfix] Fix HTML escaping in instance title (#607)Libravatar tobi1
* move caption sanitization -> sanitize.go * use sanitizeplaintext rather than removehtml * rename sanitizecaption to sanitizeplaintext * avoid removing html twice from statuses * unexport remoteHTML it's no longer used outside the text package so this makes it less confusing * test instance PATCH
2021-12-20Extend license notices to 2022 (#354)Libravatar tobi1
2021-11-22Fix image description unnecessarily html-escaping innocent characters (#321)Libravatar tobi1
* implement SanitizeCaption function * tidy up text test setup