misskey-dev / mfm.js

An MFM parser implementation with TypeScript.
MIT License
108 stars 19 forks source link

Separate hashtags on more characters #112

Closed tastytea closed 2 years ago

tastytea commented 2 years ago

Summary

Right now hashtags are separated on certain kinds of punktuations, like . and ,, but not on others, like ;, , and .

I think it would be good to break on all characters from the General Punctuation Unicode block, as well as | because that is often used to separate hashtags on other Fediverse platforms.

Johann150 commented 2 years ago

Duplicate of #106