summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/repr-io.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xml/repr-io.cpp b/src/xml/repr-io.cpp
index f6552a5f9..7b76a3086 100644
--- a/src/xml/repr-io.cpp
+++ b/src/xml/repr-io.cpp
@@ -983,7 +983,8 @@ void sp_repr_write_stream_element( Node * repr, Writer & out,
// If this is a <text> element, suppress formatting whitespace
// for its content and children:
- if (strcmp(repr->name(),"svg:text") == 0) {
+ if (strcmp(repr->name(), "svg:text") == 0 ||
+ strcmp(repr->name(), "svg:flowRoot") == 0) {
add_whitespace = false;
}