@ende/html
ende add jsr:@ende/htmlVersion 2026.10.15 on JSR.
Functions for HTML tasks such as escaping or unescaping HTML entities.
import { unescape } from "@ende/html/entities";
import { assertEquals } from "@ende/assert";
assertEquals(unescape("<>'&AA"), "<>'&AA");
assertEquals(unescape("þð"), "þð");
Modules
Exports
EntityList— Object structure for a list of HTML entities.escape— Escapes text for safe interpolation into HTML text content and quoted attributes.unescape— Unescapes HTML entities in text.UnescapeOptions— Options for unescape.