gotosocial/internal/text
tobi d8113c11e4
[feature] Parse content warning to HTML, serialize via client API as plaintext (#3876)
* [feature] Parse content warning as HTML, serialize via API to plaintext

* tidy up some cruft

* whoops

* oops

* i'm da joker baybee

* clemency muy lorde

* rename some of the text functions for clarity

* jiggle the opts

* fiddle de deee

* hopefully the last test fix i ever have to do in my beautiful life
2025-03-07 14:04:34 +00:00
..
emojify.go [feature/frontend] Respect prefers-reduced-motion for avatars, headers, and emojis (#3118) 2024-07-21 14:22:08 +02:00
formatter.go [chore/bugfix] Deinterface text.Formatter, allow underscores in hashtags (#2233) 2023-09-29 10:39:56 +02:00
formatter_test.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
goldmark_custom_renderer.go [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
goldmark_parsers.go [bugfix] Extend parser to handle more non-Latin hashtags (#3700) 2025-01-31 11:42:55 +01:00
goldmark_plaintext.go [chore/bugfix] Deinterface text.Formatter, allow underscores in hashtags (#2233) 2023-09-29 10:39:56 +02:00
markdown.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
markdown_test.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
minify.go [bugfix] Use custom bluemonday policy to disallow inline img tags (#2100) 2023-08-11 14:40:11 +02:00
normalize.go [bugfix] Extend parser to handle more non-Latin hashtags (#3700) 2025-01-31 11:42:55 +01:00
plain.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
plain_test.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
sanitize.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
sanitize_test.go [feature] Parse content warning to HTML, serialize via client API as plaintext (#3876) 2025-03-07 14:04:34 +00:00
substring.go [feature] Push notifications (#3587) 2025-01-23 16:47:30 -08:00
substring_test.go [feature] Push notifications (#3587) 2025-01-23 16:47:30 -08:00
util.go [bugfix] Extend parser to handle more non-Latin hashtags (#3700) 2025-01-31 11:42:55 +01:00