mirror of
https://github.com/denoland/std.git
synced 2024-11-22 04:59:05 +00:00
79d6a70729
* chore: add snippet checks to module docs * fix * work * tweak
21 lines
508 B
TypeScript
21 lines
508 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 { escape } from "@std/html/entities";
|
|
*
|
|
* escape("<>'&AA"); // "<>'&AA"
|
|
*
|
|
* // Characters that don't need to be escaped will be left alone,
|
|
* // even if named HTML entities exist for them.
|
|
* escape("þð"); // "þð"
|
|
* ```
|
|
*
|
|
* @module
|
|
*/
|
|
|
|
export * from "./entities.ts";
|