(str, base, prefix)
| 880 | } |
| 881 | |
| 882 | function fromCodePoint(str, base, prefix) { |
| 883 | const codePoint = Number.parseInt(str, base); |
| 884 | |
| 885 | if (codePoint >= 0 && codePoint <= 0x10FFFF) { |
| 886 | return String.fromCodePoint(codePoint); |
| 887 | } else { |
| 888 | return prefix + str + ";"; |
| 889 | } |
| 890 | } |
| 891 | |
| 892 | function transformTagName(fn, tagName, tagExp, options) { |
| 893 | if (fn) { |
nothing calls this directly
no outgoing calls
no test coverage detected