mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-21 02:19:59 +08:00
7134fc272e
* add code * Add code * add changeset * compatible lockfile * add code * add changeset * trigger-ci --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: pngwn <hello@pngwn.io>
6 lines
159 B
TypeScript
6 lines
159 B
TypeScript
import { default as sanitize_html_ } from "sanitize-html";
|
|
|
|
export function sanitize(source: string, root: string): string {
|
|
return sanitize_html_(source);
|
|
}
|