We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
replaceCodePoint
1 parent 6cb56f3 commit 2247ebeCopy full SHA for 2247ebe
src/decode.ts
@@ -1,9 +1,12 @@
1
import htmlDecodeTree from "./generated/decode-data-html.js";
2
import xmlDecodeTree from "./generated/decode-data-xml.js";
3
-import decodeCodePoint from "./decode_codepoint.js";
+import {
4
+ default as decodeCodePoint,
5
+ replaceCodePoint,
6
+} from "./decode_codepoint.js";
7
8
// Re-export for use by eg. htmlparser2
-export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint };
9
+export { htmlDecodeTree, xmlDecodeTree, decodeCodePoint, replaceCodePoint };
10
11
const enum CharCodes {
12
NUM = 35, // "#"
0 commit comments