09cbd6c65e628d5fdf15accefae2bd3968fbb54d
Sanitizing HTML/Markdown means parsing the content into an HTML tree under‐the‐hood anyway, and it is more accurate to do mention/hashtag replacement on the text nodes in that tree than it is to try to hack it in with regexes et cetera. This undoes the overrides of `#entities` and `#rewrite` on `AdvancedTextFormatter` but also stops using them, instead keeping track of the parsed Nokogiri tree itself and using that in the `#to_s` method. Internally, this tree uses `<mastodon-entity>` nodes to keep track of hashtags, links, and mentions. Sanitization is moved to the beginning, so it should be known that these do not appear in the input.
Mastodon Glitch Edition
Now with automated deploys!
So here's the deal: we all work on this code, and anyone who uses that does so absolutely at their own risk. can you dig it?
- You can view documentation for this project at glitch-soc.github.io/docs/.
- And contributing guidelines are available here and here.
Description
사계 대광장(sakyey.kr)에서 사용하는 Mastodon 소프트웨어 포크 버전.
Forked from mastodon+glitch (https://github.com/glitch-soc/mastodon)
https://sakyey.kr
Languages
Ruby
49%
TypeScript
22.6%
JavaScript
17.7%
SCSS
7.2%
Haml
3.2%
Other
0.3%