fix stringification of attributes in ssr

pull/1367/head
Rich Harris 7 years ago
parent 0cb44bb3b2
commit c06bfdbe35

@ -65,7 +65,7 @@ export default function visitElement(
if (attribute.type !== 'Attribute') return;
if (attribute.name === 'value' && node.name === 'textarea') {
textareaContents = stringifyAttributeValue(block, attribute.value);
textareaContents = stringifyAttributeValue(block, attribute.chunks);
} else if (attribute.isTrue) {
openingTag += ` ${attribute.name}`;
} else if (

Loading…
Cancel
Save