frontend
frontend copied to clipboard
bug: Using double exclamation marks spoilers even if the next character is a space
What happened?
When talking, using double exclamation marks spoilers even if the next character is another exclamation mark or a space. For example, in the message "I am really excited!! I really liked this event!!!", the second half would be spoilered and the exclamation marks would be missing, save for the last one.
I've seen other sites with the same behavior, but they usually use symbols like || to spoiler, so this isn't a problem. Here is the problem happening with the phrase "test!! test!!" and "test!!! test!!!"