Skip to content

Commit

Permalink
fix: ReferenceError when Bundled with Strict (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
aheissenberger committed Feb 15, 2022
1 parent f5c856b commit 68ccca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xmlbuilder/orderedJs2Xml.js
Expand Up @@ -72,7 +72,7 @@ function propName(obj){
function attr_to_str(attrMap, options){
let attrStr = "";
if(attrMap && !options.ignoreAttributes){
for( attr in attrMap){
for (let attr in attrMap){
let attrVal = options.attributeValueProcessor(attr, attrMap[attr]);
attrVal = replaceEntitiesValue(attrVal, options);
if(attrVal === true && options.suppressBooleanAttributes){
Expand Down

0 comments on commit 68ccca0

Please sign in to comment.