(str, base, prefix)
| 816 | } |
| 817 | |
| 818 | function fromCodePoint(str, base, prefix) { |
| 819 | const codePoint = Number.parseInt(str, base); |
| 820 | |
| 821 | if (codePoint >= 0 && codePoint <= 0x10FFFF) { |
| 822 | return String.fromCodePoint(codePoint); |
| 823 | } else { |
| 824 | return prefix + str + ";"; |
| 825 | } |
| 826 | } |
| 827 | |
| 828 | function transformTagName(fn, tagName, tagExp, options) { |
| 829 | if (fn) { |
nothing calls this directly
no outgoing calls
no test coverage detected