aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/sword/01-osisxhtml-super.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-11-22 15:35:03 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-22 15:35:03 +0000
commitd60d3052aea9b3155c7f426ed94a9519d5f9f374 (patch)
tree77585b919750ccb72fb7532d4e9938d51b98f03a /unmaintained/sword/01-osisxhtml-super.patch
parentbf9e945981a04cac944060f2d644d9d8ca216ae1 (diff)
downloadaports-d60d3052aea9b3155c7f426ed94a9519d5f9f374.tar.bz2
aports-d60d3052aea9b3155c7f426ed94a9519d5f9f374.tar.xz
community/sword: move to unmaintained
Diffstat (limited to 'unmaintained/sword/01-osisxhtml-super.patch')
-rw-r--r--unmaintained/sword/01-osisxhtml-super.patch16
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") {