We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ad9b31 commit 76e52f4Copy full SHA for 76e52f4
src/components/layout/Project.svelte
@@ -67,7 +67,8 @@
67
let xmlDoc = exportXliff(files);
68
69
if(exportOptions.stripEmptyTarget) {
70
- for(let targetElem of xmlDoc.getElementsByTagName("target")) {
+ for(let targetElem of [...xmlDoc.getElementsByTagName("target")]) {
71
+ console.log(targetElem.textContent + "_" + targetElem.textContent.length)
72
if(targetElem.textContent.length == 0) targetElem.remove();
73
}
74
0 commit comments