summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/text_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/text_content.cc b/src/lib/text_content.cc
index 96e9cbb8d..8e1e416eb 100644
--- a/src/lib/text_content.cc
+++ b/src/lib/text_content.cc
@@ -313,7 +313,7 @@ TextContent::as_xml (xmlpp::Node* root) const
(*i)->as_xml (root->add_child("Font"));
}
- root->add_child("TextType", text_type_to_string(_type));
+ root->add_child("TextType")->add_child_text (text_type_to_string(_type));
}
string