aports/community/sword/01-osisxhtml-super.patch
Isaac Dunham eb85c62dec community/sword: fix superscripts in OSIS->xhtml translation
Pick up a fix from SVN, since the next release is not happening before
I leave.
(This bug messes up display of an apparatus in Xiphos.)
2016-05-09 16:09:15 +00:00

17 lines
604 B
Diff

Fix superscripts in OSIS->xhtml translations, based on a fix
by Karl Kleinpaste (revision 3375 in SVN)
diff --git a/src/modules/filters/osisxhtml.cpp b/src/modules/filters/osisxhtml.cpp
index fb743e2..759acc4 100644
--- a/src/modules/filters/osisxhtml.cpp
+++ b/src/modules/filters/osisxhtml.cpp
@@ -617,7 +617,7 @@ bool OSISXHTML::handleToken(SWBuf &buf, const char *token, BasicFilterUserData *
else if (type == "ol") {
outText("</span>", buf, u);
}
- else if (type == "sup") {
+ else if (type == "super") {
outText("</sup>", buf, u);
}
else if (type == "sub") {