diff --git a/src/generators/dom/visitors/Component/Attribute.js b/src/generators/dom/visitors/Component/Attribute.js new file mode 100644 index 0000000000..601bc7049f --- /dev/null +++ b/src/generators/dom/visitors/Component/Attribute.js @@ -0,0 +1,67 @@ +export default function visitAttribute ( generator, block, state, node, attribute, local ) { + if ( attribute.value === true ) { + // attributes without values, e.g.