Correctly handle control characters in HTML output
Closed this issue · 0 comments
aquarius commented
Ashton currently ignores characters like \u000d \u0009 \u000c \u0085 \u2028 \u2029 and leaves them in the output. This can cause issues when displaying the string in a web browser as the web browser will ignore the line separator or paragraph separator character. The correct solution would be to for example replace them with