diff options
| author | Jabiertxof <jabier.arraiza@marker.es> | 2019-09-04 19:38:00 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-07 21:48:33 +0000 |
| commit | b39deb401d5d34abceb5ee8caad920b70d734205 (patch) | |
| tree | bd3134ff6873e1ed7e684e026d9f748ce3b23617 /src/text-editing.cpp | |
| parent | Add Text direction icons (diff) | |
| download | inkscape-b39deb401d5d34abceb5ee8caad920b70d734205.tar.gz inkscape-b39deb401d5d34abceb5ee8caad920b70d734205.zip | |
fixx flowbox on SVG2 mode using tspans
Diffstat (limited to 'src/text-editing.cpp')
| -rw-r--r-- | src/text-editing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/text-editing.cpp b/src/text-editing.cpp index 54261c66f..db3d78ac5 100644 --- a/src/text-editing.cpp +++ b/src/text-editing.cpp @@ -427,6 +427,8 @@ Inkscape::Text::Layout::iterator sp_te_insert_line (SPItem *item, Inkscape::Text if (split_obj) { Inkscape::XML::Document *xml_doc = split_obj->document->getReprDoc(); Inkscape::XML::Node *new_node = duplicate_node_without_children(xml_doc, split_obj->getRepr()); + // if we finaly go to a text element without TSpan we mist set content to none + // new_node->setContent(""); split_obj->parent->getRepr()->addChild(new_node, split_obj->getRepr()); Inkscape::GC::release(new_node); } |
