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

charcoal at crosswire.org charcoal at crosswire.org
Tue Aug 11 20:41:40 MST 2009


Author: charcoal
Date: 2009-08-11 20:41:40 -0700 (Tue, 11 Aug 2009)
New Revision: 2441

Modified:
   trunk/src/modules/filters/osishtmlhref.cpp
Log:
allow <hi type="bold"> (to go with "b" and "x-b")

Modified: trunk/src/modules/filters/osishtmlhref.cpp
===================================================================
--- trunk/src/modules/filters/osishtmlhref.cpp	2009-08-11 20:31:42 UTC (rev 2440)
+++ trunk/src/modules/filters/osishtmlhref.cpp	2009-08-12 03:41:40 UTC (rev 2441)
@@ -474,7 +474,7 @@
 		else if (!strcmp(tag.getName(), "hi")) {
 			SWBuf type = tag.getAttribute("type");
 			if ((!tag.isEndTag()) && (!tag.isEmpty())) {
-				if (type == "b" || type == "x-b") {
+				if (type == "bold" || type == "b" || type == "x-b") {
 					outText("<b>", buf, u);
 					u->inBold = true;
 				}




More information about the sword-cvs mailing list