Closed mebeim closed 5 years ago
Currently, whitespace is not preserved in SGV <text> nodes, which leads to stuff like this being rendered.
<text>
Input:
Diagram(Terminal('"x"'), Terminal('" y "'))
Output:
Expected output:
The issue is solved simply by adding whitespace: pre to the CSS rules for SVG <text> nodes, which is what this PR does.
whitespace: pre
Currently, whitespace is not preserved in SGV
<text>
nodes, which leads to stuff like this being rendered.Input:
Output:
Expected output:
The issue is solved simply by adding
whitespace: pre
to the CSS rules for SVG<text>
nodes, which is what this PR does.