sk22
sk22
well, people come across posts using "advanced" html tags, including lists, all the time. mastodon for web renders this ```markdown LIST HEADER * item 1 * item 2 LIST FOOTER...
my pull request can be easily adapted to archive what you see on mastodon web; by * removing the "head" switch-case for "p" (which ensures the empty line after lists/non-paragraphs)...
 would look like this. you can add commits to this PR if you want to
found an issue with my implementation: list items will always append a line break, even if there's nothing after them – resulting in an empty line at the end of...
okay, fixed it – also, the implementation feels much cleaner now
… and since #152 also applies to other block elements, like ``, it's probably smart to insert spaces (just like after `` elements), so i changed the logic a bit.
> Hm. But Markdown isn't an officially supported Mastodon feature 🤔 it is now: https://github.com/mastodon/mastodon/pull/23913