summaryrefslogtreecommitdiff
path: root/src/plugins/html
diff options
context:
space:
mode:
authorBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 19:23:07 +0100
committerBenjamin Paassen <bpaassen@techfak.uni-bielefeld.de>2015-02-06 19:23:07 +0100
commit100a24a53c862201d1fcaaf81c6faacb694d37e9 (patch)
treefb113b21febf539b39e1aa8e1141caf607e8e696 /src/plugins/html
parent577ed0ad24dd9ddb3639569307473feed52a76d3 (diff)
changed name of text field from content to default.
Diffstat (limited to 'src/plugins/html')
-rw-r--r--src/plugins/html/DemoOutput.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/html/DemoOutput.cpp b/src/plugins/html/DemoOutput.cpp
index eddff7b..074e65e 100644
--- a/src/plugins/html/DemoOutput.cpp
+++ b/src/plugins/html/DemoOutput.cpp
@@ -323,7 +323,7 @@ Rooted<xml::Element> DemoHTMLTransformer::transformParagraph(
std::string childDescriptorName = t->getDescriptor()->getName();
if (childDescriptorName == "text") {
Handle<DocumentPrimitive> primitive =
- t->getField("content")[0].cast<DocumentPrimitive>();
+ t->getField()[0].cast<DocumentPrimitive>();
if (primitive.isNull()) {
throw OusiaException("Text field is not primitive!");
}