eternagame / HTML-Chat

HTML5 implementation of chat to replace the legacy Flash-based implementation
BSD 3-Clause "New" or "Revised" License
7 stars 5 forks source link

Disable transforming multiple `.`s to elipsis #78

Open luxaritas opened 6 years ago

luxaritas commented 6 years ago

It messes with dot bracket notation

guyguy2001 commented 4 years ago

Seems like we either need to move to a different library (which I think is good either way) or disable text replacement altogether to fix this

luxaritas commented 4 years ago

I think it should be possible to just turn this specific replacement off in markdownit - I'm not sure why a different library would be better.

guyguy2001 commented 4 years ago

Because markdown-it replaces everything at once, without a rule for each replacement. We could fork it, but we might want to switch to a vue-based library either way; IDK though.

luxaritas commented 4 years ago

We're talking about using DOMPurify + Marked elsewhere, so it might make sense to switch to Marked for consistency

luxaritas commented 4 years ago

Er, DOMPurify + Marked with DOMPurify set to remove all HTML