(str: string)
| 32 | } |
| 33 | |
| 34 | export function looseEscapeHTML(str: string) { |
| 35 | return str.replaceAll('"', '"') |
| 36 | } |
| 37 | |
| 38 | const JS_SINGLE_QUOTE_ESCAPE_RE = /['\\\r\n\u2028\u2029]/g |
| 39 | const JS_TEMPLATE_LITERAL_ESCAPE_RE = /[`\\]|\$\{/g |
no outgoing calls
no test coverage detected