diff --git a/blocks/api/parser.js b/blocks/api/parser.js index 99d13fbb83e8fb..3712c4202d3f9a 100644 --- a/blocks/api/parser.js +++ b/blocks/api/parser.js @@ -98,7 +98,14 @@ export function matcherFromSource( sourceConfig ) { * @return {*} Attribute value. */ export function parseWithAttributeSchema( innerHTML, attributeSchema ) { - return hpqParse( innerHTML, matcherFromSource( attributeSchema ) ); + const attributeValue = hpqParse( innerHTML, matcherFromSource( attributeSchema ) ); + // HTML attributes without a defined value (e.g.