Skip to content

Commit

Permalink
allow to escape angle brackets in XML formatting #710
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Nov 28, 2021
1 parent 043c035 commit 8e6d313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/xml_formatting.js
Expand Up @@ -132,7 +132,7 @@
return '[[;' + name + ';]';
}
}
return string;
return string.replace(/&lt;/g, '<').replace(/&gt;/g, '>');
}).join('');
}
xml_formatter.__no_warn__ = true;
Expand Down

0 comments on commit 8e6d313

Please sign in to comment.