Skip to content

Commit 4c8ec89

Browse files
committedApr 27, 2023
fix: revert incorrectly adapted code
1 parent ad3a297 commit 4c8ec89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/parser.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class exports.Parser extends events
118118
if @options.mergeAttrs
119119
@assignOrPush obj, processedKey, newValue
120120
else
121-
@assignOrPush obj[attrkey], processedKey, newValue
121+
obj[attrkey][processedKey] = newValue
122122

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

0 commit comments

Comments
 (0)
Please sign in to comment.