bonfire-app
bonfire-app copied to clipboard
issues with hashtags
- [ ] hashtag at start of post not detected
- [ ] hashtag should support _underscores
seems a milkdown.JS issue as this is what the backend receives: "\\#test #hash\\_tag\n" when you write #test #hash_tag
I could do some find/replace on server, like we already had to do for links and mentions:
|> Regex.replace(~r/<(http[^>]+)>/U, ..., " \\1 ")
|> Regex.replace(~r/@<([^>]+)>/U, ..., " @\\1 ")
but wonder if we can configure milkdown do give us what is actually written / the plain markdown, so that this doesn't become too a messy (and likely incomplete) pile of workaround (which wouldn't apply if another wysiwyg editor or plaintext is used)
fixed