HTML Entity
↔ string
to display reserved invisible chars in HTML
Sources: Entity - MDN Web Docs Glossary: Definitions of Web-related terms | MDN HTML Standard
aka HTML-Entities
HTML entities JS Syntax begin with & and end with a ;
HTML Entities will be parsed as code
reserved chars include & < > "
wtwg entity list includes !deprecated names with varying capitalizations and excluding trailing semicolons
HTML Entity to escape non-breaking whitespace in HTML - to preserve whitespace as content, prevent collapse
References
_.unescape(string)
↔ returnstring
with HTML Entity convert back to normal chars - !inverse_.escape(string)
↔ HTML Entity to escape non-breaking whitespace in HTML - to preserve whitespace as content, prevent collapse_.escape(string)
↔ returnstring
convert into HTML Entity (&
<
\>
"
'
)