diff options
author | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-09 16:26:49 +0100 |
---|---|---|
committer | Benjamin Paassen <bpaassen@techfak.uni-bielefeld.de> | 2015-01-09 16:26:49 +0100 |
commit | 58fed7b74357b82ba55558f91ae13123dc2380eb (patch) | |
tree | 78b36b5e13847d24a8609a00ab93c15188e87790 /src/plugins/html | |
parent | 72399fdf6f7c2eec785fe9b0e70b7284f550d5dd (diff) |
debugged DemoOutput.cpp
Diffstat (limited to 'src/plugins/html')
-rw-r--r-- | src/plugins/html/DemoOutput.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/html/DemoOutput.cpp b/src/plugins/html/DemoOutput.cpp index 296a493..69f2756 100644 --- a/src/plugins/html/DemoOutput.cpp +++ b/src/plugins/html/DemoOutput.cpp @@ -306,6 +306,7 @@ Rooted<xml::Element> DemoHTMLTransformer::transformParagraph( */ AnnoStack tmp; Rooted<model::AnnotationEntity> closed = opened.top(); + current = current->getParent(); opened.pop(); while (closed->getEnd()->getName() != n->getName()) { /* @@ -320,7 +321,7 @@ Rooted<xml::Element> DemoHTMLTransformer::transformParagraph( throw OusiaException("An unopened entity was closed!"); } closed = opened.top(); - opened.top(); + opened.pop(); } // At this point we have closed all necessary entities. Now we // need to re-open some of them. |