RazorExpress
RazorExpress copied to clipboard
String special char(', ", `) in script comment will not render unless closed
I am not sure if this is intentional, but having a javascript comment that contains a single string start-end char(', ", `) will cause the rendering to fail:
let x = `<p>RazorExpress test</p>
<script>
// don't
<\/script>`
let rendered = raz.render(template);
Response: "Error: '