Download node_modules/pretty-format/build/plugins/lib/escapeHTML.js from Snapkitty/sovereign-apollo: direct link, hf CLI and curl.
- Browser
- Download file 405 Bytes
-
https://huggingface.co/Snapkitty/sovereign-apollo/resolve/main/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
- Command line
-
hf download hf://Snapkitty/sovereign-apollo/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
-
curl -L -o escapeHTML.js https://huggingface.co/Snapkitty/sovereign-apollo/resolve/main/node_modules/pretty-format/build/plugins/lib/escapeHTML.js
405 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, '>'); | |
| } | |