Download web/node_modules/pretty-format/build/plugins/lib/escapeHTML.js from amitesh11/pose: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
- Command line
-
hf download hf://spaces/amitesh11/pose/web/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
-
curl -L -o escapeHTML.js https://huggingface.co/spaces/amitesh11/pose/resolve/main/web/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
389 Bytes
| ; | |
| Object.defineProperty(exports, '__esModule', { | |
| value: true | |
| }); | |
| exports.default = escapeHTML; | |
| /** | |
| * Copyright (c) Meta Platforms, Inc. and affiliates. | |
| * | |
| * This source code is licensed under the MIT license found in the | |
| * LICENSE file in the root directory of this source tree. | |
| */ | |
| function escapeHTML(str) { | |
| return str.replace(/</g, '<').replace(/>/g, '>'); | |
| } | |