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