prevent commas in attributes - fixes #3341

pull/3342/head
Richard Harris 5 years ago
parent fb37b06286
commit a03566e4f9

@ -240,7 +240,7 @@ export default class AttributeWrapper {
return chunk.type === 'Text'
? chunk.data.replace(/"/g, '\\"')
: `\${${chunk.render()}}`;
})}"`;
}).join('')}"`;
}
}

@ -0,0 +1,7 @@
export default {
html: `
<div>
<span class="a/42"/>
</div>
`
}
Loading…
Cancel
Save