[sword-svn] r3119 - trunk/src/modules/filters
chrislit at crosswire.org
chrislit at crosswire.org
Thu Mar 13 01:40:20 MST 2014
Author: chrislit
Date: 2014-03-13 01:40:20 -0700 (Thu, 13 Mar 2014)
New Revision: 3119
Modified:
trunk/src/modules/filters/osishtmlhref.cpp
trunk/src/modules/filters/osislatex.cpp
trunk/src/modules/filters/osisxhtml.cpp
Log:
cleanup/regularization of overline types
Modified: trunk/src/modules/filters/osishtmlhref.cpp
===================================================================
--- trunk/src/modules/filters/osishtmlhref.cpp 2014-03-13 08:36:59 UTC (rev 3118)
+++ trunk/src/modules/filters/osishtmlhref.cpp 2014-03-13 08:40:20 UTC (rev 3119)
@@ -481,7 +481,7 @@
if (type == "bold" || type == "b" || type == "x-b") {
outText("<b>", buf, u);
}
- else if (type == "ol") {
+ else if (type == "ol" || type == "overline" || type == "x-overline") {
outText("<span style=\"text-decoration:overline\">", buf, u);
}
else if (type == "super") {
Modified: trunk/src/modules/filters/osislatex.cpp
===================================================================
--- trunk/src/modules/filters/osislatex.cpp 2014-03-13 08:36:59 UTC (rev 3118)
+++ trunk/src/modules/filters/osislatex.cpp 2014-03-13 08:40:20 UTC (rev 3119)
@@ -563,7 +563,7 @@
// but we have used "ol" in the past, as well. Once a valid
// OSIS overline attribute is made available, these should all
// eventually be deprecated and never documented that they are supported.
- else if (type == "ol" || type == "overline" || type == "x-overline") {
+ else if (type == "ol" || type == "overline" || type == "x-overline") {
outText("<span style=\"text-decoration:overline\">", buf, u);
}
Modified: trunk/src/modules/filters/osisxhtml.cpp
===================================================================
--- trunk/src/modules/filters/osisxhtml.cpp 2014-03-13 08:36:59 UTC (rev 3118)
+++ trunk/src/modules/filters/osisxhtml.cpp 2014-03-13 08:40:20 UTC (rev 3119)
@@ -560,7 +560,7 @@
// but we have used "ol" in the past, as well. Once a valid
// OSIS overline attribute is made available, these should all
// eventually be deprecated and never documented that they are supported.
- else if (type == "ol" || type == "overline" || type == "x-overline") {
+ else if (type == "ol" || type == "overline" || type == "x-overline") {
outText("<span style=\"text-decoration:overline\">", buf, u);
}
More information about the sword-cvs
mailing list