diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2016-05-08 21:36:26 -0700 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-05-09 16:09:15 +0000 |
commit | eb85c62dec5350297acc131e3ce559d30197b4eb (patch) | |
tree | 5a2cf7775ab0675b6c07141782ef451e7883af62 /community/sword/01-osisxhtml-super.patch | |
parent | 1a4f742d2474ad662c2f90e041ff046cc0c83fcf (diff) | |
download | aports-eb85c62dec5350297acc131e3ce559d30197b4eb.tar.bz2 aports-eb85c62dec5350297acc131e3ce559d30197b4eb.tar.xz |
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.)
Diffstat (limited to 'community/sword/01-osisxhtml-super.patch')
-rw-r--r-- | community/sword/01-osisxhtml-super.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/community/sword/01-osisxhtml-super.patch b/community/sword/01-osisxhtml-super.patch new file mode 100644 index 0000000000..dec1de72ee --- /dev/null +++ b/community/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") { |