std/html/mod.ts
Lucas Lemos bfa56fce2d
feat(html/unstable): add isValidCustomElementName() (#5456)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-01 12:26:54 +09:00

20 lines
532 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// This module is browser compatible.
/**
* Functions for HTML tasks such as escaping or unescaping HTML entities.
*
* ```ts
* import { unescape } from "@std/html/entities";
* import { assertEquals } from "@std/assert";
*
* assertEquals(unescape("&lt;&gt;&#39;&amp;AA"), "<>'&AA");
* assertEquals(unescape("&thorn;&eth;"), "&thorn;&eth;");
* ```
*
* @module
*/
export * from "./entities.ts";
export * from "./is_valid_custom_element_name.ts";