mirror of
1
Fork 0
gotosocial/internal/text
tobi 5668ce1ec7
[bugfix] Fix HTML escaping in instance title (#607)
* 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
2022-05-26 11:37:13 +02:00
..
common.go [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
common_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
formatter.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
formatter_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
link.go [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
link_test.go [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
markdown.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
markdown_test.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
minify.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
plain.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
plain_test.go [bugfix] Fix existing bio text showing as HTML (#531) 2022-05-07 17:55:27 +02:00
removehtml_test.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
sanitize.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00
sanitize_test.go [bugfix] Fix HTML escaping in instance title (#607) 2022-05-26 11:37:13 +02:00