gotosocial/internal/text
tobi 0ff52b71f2
[chore] Refactor HTML templates and CSS (#2480)
* [chore] Refactor HTML templates and CSS

* eslint

* ignore "Local"

* rss tests

* fiddle with OG just a tiny bit

* dick around with polls a bit more so SR stops saying "clickable"

* remove break

* oh lord

* don't lazy load avatar

* fix ogmeta tests

* clean up some cruft

* catch remaining calls to c.HTML

* fix error rendering + stack overflow in tag

* allow templating attributes

* fix indent

* set aria-hidden on status complementary content, since it's already present in the label anyway

* tidy up templating calls a little

* try to make styling a bit more consistent + readable

* fix up some remaining CSS issues

* fix up reports
2023-12-27 11:23:52 +01:00
..
emojify.go [chore] Refactor HTML templates and CSS (#2480) 2023-12-27 11:23:52 +01:00
formatter.go
formatter_test.go
goldmark_custom_renderer.go [feature] Media attachment placeholders (#2331) 2023-11-10 19:29:26 +01:00
goldmark_parsers.go
goldmark_plaintext.go
markdown.go updates markdown parsing to reduce allocations in the same way as the plain text formatter (#2252) 2023-10-05 13:22:40 +01:00
markdown_test.go
minify.go
normalize.go
plain.go [feature] tentatively start adding polls support (#2249) 2023-10-04 13:09:42 +01:00
plain_test.go
removehtml_test.go
sanitize.go
sanitize_test.go
util.go