From 6a8a01da560675f2557015c353be0c5810e34419 Mon Sep 17 00:00:00 2001 From: mental Date: Wed, 11 Jun 2008 15:55:04 +0000 Subject: [PATCH] handle PI nodes --- src/text-editing.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/text-editing.cpp b/src/text-editing.cpp index cab71e94a..4b115f374 100644 --- a/src/text-editing.cpp +++ b/src/text-editing.cpp @@ -270,6 +270,9 @@ static Inkscape::XML::Node* duplicate_node_without_children(Inkscape::XML::Docum case Inkscape::XML::COMMENT_NODE: return xml_doc->createComment(old_node->content()); + case Inkscape::XML::PI_NODE: + return xml_doc->createPI(old_node->name(), old_node->content()); + case Inkscape::XML::DOCUMENT_NODE: return NULL; // this had better never happen } -- 2.30.2