You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now swift-html-entities aggressively encodes everything, even when it's perfectly acceptable inside HTML. For example, line breaks become 
.
HE, the library this is based on, has an escape() function that "takes a string of text and escapes it for use in text contexts in XML or HTML documents… only the following characters are escaped: &, <, >, ", ', and `." PHP has a htmlspecialchars function that does something similar, although it ignores backticks.
Is it possible to get something similar here?
The text was updated successfully, but these errors were encountered:
Right now swift-html-entities aggressively encodes everything, even when it's perfectly acceptable inside HTML. For example, line breaks become


.HE, the library this is based on, has an
escape()
function that "takes a string of text and escapes it for use in text contexts in XML or HTML documents… only the following characters are escaped: &, <, >, ", ', and `." PHP has a htmlspecialchars function that does something similar, although it ignores backticks.Is it possible to get something similar here?
The text was updated successfully, but these errors were encountered: