(str, base, prefix)
| 838 | } |
| 839 | |
| 840 | function fromCodePoint(str, base, prefix) { |
| 841 | const codePoint = Number.parseInt(str, base); |
| 842 | |
| 843 | if (codePoint >= 0 && codePoint <= 0x10FFFF) { |
| 844 | return String.fromCodePoint(codePoint); |
| 845 | } else { |
| 846 | return prefix + str + ";"; |
| 847 | } |
| 848 | } |
| 849 | |
| 850 | function transformTagName(fn, tagName, tagExp, options) { |
| 851 | if (fn) { |
nothing calls this directly
no outgoing calls
no test coverage detected