summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--svgbob/src/buffer/cell_buffer.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/svgbob/src/buffer/cell_buffer.rs b/svgbob/src/buffer/cell_buffer.rs
index 99a2e53..fa3a634 100644
--- a/svgbob/src/buffer/cell_buffer.rs
+++ b/svgbob/src/buffer/cell_buffer.rs
@@ -249,6 +249,8 @@ impl CellBuffer {
}}
text {{
+ /* This fix the spacing bug in svg text*/
+ white-space: pre;
fill: {stroke_color};
}}
rect.backdrop{{