We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9d4474 commit f9a419bCopy full SHA for f9a419b
InteractiveHtmlBom/web/util.js
@@ -70,7 +70,8 @@ function saveBomTable(output) {
70
var text = '';
71
for (var node of bomhead.childNodes[0].childNodes) {
72
if (node.firstChild) {
73
- text += (output == 'csv' ? `"${node.firstChild.nodeValue}"` : node.firstChild.nodeValue);
+ var name = node.firstChild.nodeValue ?? "";
74
+ text += (output == 'csv' ? `"${name}"` : name);
75
}
76
if (node != bomhead.childNodes[0].lastChild) {
77
text += (output == 'csv' ? ',' : '\t');
0 commit comments