Open LazyKarlson opened 1 year ago
Please get rid of the unrelated formatting changes.
@Aivean Done!
@LazyKarlson, did you test it?
I think the parser support should be more involved, as right now it will still perform all replacements inside the <pre>
tag (like videos and mentions).
Additionally, regex is not the right tool to do html escaping here. Also, this logic shouldn't happen on the client. The user should see clear readable text inside the <pre>
tag when writing/editing.
I think [code] tag will be more expected and more well-known by users.
Button for