Removing nbsp bug

This commit is contained in:
2024-07-08 18:30:14 +02:00
parent e7c49c0750
commit 31602a1da2

View File

@@ -103,7 +103,7 @@ export class Editor {
} else { } else {
if (line.lyrics != "") { if (line.lyrics != "") {
current_paragraph.appendChild( current_paragraph.appendChild(
document.createTextNode(line.lyrics.replace(" ", " ")) document.createTextNode(line.lyrics.replace(" ", "\u00A0"))
); );
} else if (line.chords.length > 0) { } else if (line.chords.length > 0) {
for (let chord of line.chords) { for (let chord of line.chords) {