I feel like I have a very dumb question: I create a text with the following command:
text = document.createElementNS("http://www.w3.org/2000/svg", "text")
text.textContent = "some very long text"
How can I make the string printed span over many lines? The common 'n'
doesn’t work. And I found some solutions for html text using the <br/>
command, but I don’t know to convert the text to html. I also tried
text.innerHTML = "some text" + <br/> + "some more text"
but this didn’t work.