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

chrislit at crosswire.org chrislit at crosswire.org
Wed Sep 2 19:32:54 MST 2009


Author: chrislit
Date: 2009-09-02 19:32:54 -0700 (Wed, 02 Sep 2009)
New Revision: 2451

Modified:
   trunk/src/modules/filters/osisrtf.cpp
Log:
synched with HTMLHREF filter to recognize now standard OSIS for bold <hi>


Modified: trunk/src/modules/filters/osisrtf.cpp
===================================================================
--- trunk/src/modules/filters/osisrtf.cpp	2009-09-02 22:26:11 UTC (rev 2450)
+++ trunk/src/modules/filters/osisrtf.cpp	2009-09-03 02:32:54 UTC (rev 2451)
@@ -373,7 +373,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("{\\b1 ", buf, u);
 				else	// all other types
 					outText("{\\i1 ", buf, u);




More information about the sword-cvs mailing list