diff options
Diffstat (limited to 'unmaintained/sword/01-osisxhtml-super.patch')
-rw-r--r-- | unmaintained/sword/01-osisxhtml-super.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/unmaintained/sword/01-osisxhtml-super.patch b/unmaintained/sword/01-osisxhtml-super.patch new file mode 100644 index 0000000000..dec1de72ee --- /dev/null +++ b/unmaintained/sword/01-osisxhtml-super.patch @@ -0,0 +1,16 @@ +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") { |