[sword-svn] r3086 - trunk/src/modules/filters
refdoc at crosswire.org
refdoc at crosswire.org
Sat Mar 8 15:38:15 MST 2014
Author: refdoc
Date: 2014-03-08 15:38:14 -0700 (Sat, 08 Mar 2014)
New Revision: 3086
Modified:
trunk/src/modules/filters/teirtf.cpp
Log:
Commit by David Owens's patch for implementation of <orth> in TEI - API-159
Modified: trunk/src/modules/filters/teirtf.cpp
===================================================================
--- trunk/src/modules/filters/teirtf.cpp 2014-03-08 22:29:44 UTC (rev 3085)
+++ trunk/src/modules/filters/teirtf.cpp 2014-03-08 22:38:14 UTC (rev 3086)
@@ -114,6 +114,16 @@
}
}
+ // <orth>
+ else if (!strcmp(tag.getName(), "orth")) {
+ if ((!tag.isEndTag()) && (!tag.isEmpty())) {
+ buf += "{\\b1 ";
+ }
+ else if (tag.isEndTag()) {
+ buf += "}";
+ }
+ }
+
// <div>
else if (!strcmp(tag.getName(), "div")) {
More information about the sword-cvs
mailing list