0

I want to place a text in Raphael which contains also blank lines. If there is only one blank line, i can replace "\n\n" by "\n \n" and the blank lines show up.

But if there are multiple blank lines, it does not work.

for example

paper.text(100,100, "this\n \n \nblank\nline")

does not yield two blank lines between "this" and "blank"

Bernhard
  • 686
  • 8
  • 20
  • possible duplicate of [How to add double "new line" characters when using the \`text\` method in Raphael.js?](http://stackoverflow.com/questions/13145961/how-to-add-double-new-line-characters-when-using-the-text-method-in-raphael) – sanchez Nov 24 '14 at 18:57
  • yes it is. I was using the search before, but could not find it. sorry. – Bernhard Nov 24 '14 at 19:02

0 Answers0