[sword-svn] r3120 - trunk/src/modules/filters

chrislit at crosswire.org chrislit at crosswire.org
Thu Mar 13 01:43:37 MST 2014


Author: chrislit
Date: 2014-03-13 01:43:37 -0700 (Thu, 13 Mar 2014)
New Revision: 3120

Modified:
   trunk/src/modules/filters/osisxhtml.cpp
Log:
moved overline style into CSS


Modified: trunk/src/modules/filters/osisxhtml.cpp
===================================================================
--- trunk/src/modules/filters/osisxhtml.cpp	2014-03-13 08:40:20 UTC (rev 3119)
+++ trunk/src/modules/filters/osisxhtml.cpp	2014-03-13 08:43:37 UTC (rev 3120)
@@ -38,6 +38,7 @@
 		.divineName { font-variant: small-caps; }\n\
 		.wordsOfJesus { color: red; }\n\
 		.transChangeSupplied { font-style: italic; }\n\
+		.overline        { text-decoration: overline; }\n\
 		.indent1         { margin-left: 10px }\n\
 		.indent2         { margin-left: 20px }\n\
 		.indent3         { margin-left: 30px }\n\
@@ -561,7 +562,7 @@
 				// 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") {
-					outText("<span style=\"text-decoration:overline\">", buf, u);
+					outText("<span class=\"overline\">", buf, u);
 				}
 
 				else if (type == "super") {




More information about the sword-cvs mailing list