ivanceras / svgbob

Convert your ascii diagram scribbles into happy little SVG
http://ivanceras.github.io/svgbob-editor/
Apache License 2.0
3.88k stars 109 forks source link

Fix literal string escaping #20

Closed fmthoma closed 6 years ago

fmthoma commented 6 years ago

svgbob will render strings in double quotes literally, and not replace any characters by svg paths.

However, as mentioned in #19, there is currently a bug that the last part of a line after the last closing double quote character is ignored:

+-----------+---+
| "a.to(b)" | c |
+-----------+---+

renders like

+-----------+---+
| "a.to(b)"
+-----------+---+

which is fixed in this pull request.

ivanceras commented 6 years ago

Thanks @fmthoma , merged.