&🐐; Escape a string for use in HTML or the inverse
https://github.com/sindresorhus/escape-goat/compare/v3.0.0...v4.0.0
-htmlEscapeTag`<a href="${url}"></a>`;
-htmlUnescapeTag`URL from HTML: ${url}`;
+htmlEscape`<a href="${url}"></a>`;
+htmlUnescape`URL from HTML: ${url}`;
https://github.com/sindresorhus/escape-goat/compare/v2.1.1...v3.0.0
'
in addition to '
(#14) f0d5024https://github.com/sindresorhus/escape-goat/compare/v2.1.0...v2.1.1
htmlEscapeTag
and htmlUnescapeTag
(#13) 633c0dchttps://github.com/sindresorhus/escape-goat/compare/v2.0.0...v2.1.0
Breaking:
escape
→ htmlEscape
unescape
→ htmlUnescape
escapeTag
→ htmlEscapeTag
unscapeTag
→ htmlUnescapeTag
Enhancements:
https://github.com/sindresorhus/escape-goat/compare/v1.3.0...v2.0.0