Skip to content

Commit

Permalink
fix: revert incorrectly adapted code
Browse files Browse the repository at this point in the history
  • Loading branch information
markwhitfeld committed Apr 27, 2023
1 parent ad3a297 commit 4c8ec89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class exports.Parser extends events
if @options.mergeAttrs
@assignOrPush obj, processedKey, newValue
else
@assignOrPush obj[attrkey], processedKey, newValue
obj[attrkey][processedKey] = newValue

# need a place to store the node name
obj["#name"] = if @options.tagNameProcessors then processItem(@options.tagNameProcessors, node.name) else node.name
Expand Down

0 comments on commit 4c8ec89

Please sign in to comment.