Replies: 3 comments 1 reply
-
My guess is that this is just a problem with the processing order of things; hashtags are parsed before entities. We should check the CommonMark spec to see if it has guidance on which entities should be supported; if it doesn’t, I think just supporting XML ones are fine. (Note some named HTML entities are not welformed XML entities though.) This is assuming that Mastodon supports named entities at all; if it only supports CharRefs, that makes our job even easier. Regardless, I would consider this a bug. (Actually, every aspect of Mastodon’s HTML/Markdown support needs to be reviewed, IMO; it’s largely a giant hack. This is just one in probably a long list of problems.) |
Beta Was this translation helpful? Give feedback.
-
Relevant: glitch-soc/mastodon#1223 |
Beta Was this translation helpful? Give feedback.
-
Issue created for this at #25; continue discussion there! |
Beta Was this translation helpful? Give feedback.
-
so we can use
’
instead of’
Edit:
posting the above text (as rendered, not as from the markdown source for this conversation) as a markdown post renders
while parsing
#x2019
as a hashtag. this is silly. we should do as markdown does, namely, rendering that asBeta Was this translation helpful? Give feedback.
All reactions