Skip to content
Snippets Groups Projects
Commit a5974d52 authored by Jacob Benz's avatar Jacob Benz
Browse files

Fix not properly numbering empty lines of <l>

parent 0e696540
No related branches found
No related tags found
No related merge requests found
...@@ -412,7 +412,7 @@ class XML2CWRC { ...@@ -412,7 +412,7 @@ class XML2CWRC {
if (node.childNodes.length === 0) { if (node.childNodes.length === 0) {
openingTagString += '>'; openingTagString += '>';
closingTagString = `\uFEFF</${htmlTag}>`; closingTagString = `&#65279;</${htmlTag}>`; //Change \uFEFF to &#65279; because \uFEFF does sometimes not work as intended
} else { } else {
openingTagString += '>'; openingTagString += '>';
closingTagString = `</${htmlTag}>`; closingTagString = `</${htmlTag}>`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment