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

tbiggs at www.crosswire.org tbiggs at www.crosswire.org
Fri Jul 13 08:33:32 MST 2007


Author: tbiggs
Date: 2007-07-13 08:33:31 -0700 (Fri, 13 Jul 2007)
New Revision: 2060

Modified:
   trunk/src/modules/filters/osishtmlhref.cpp
   trunk/src/modules/filters/thmlhtmlhref.cpp
Log:
added borderless image tags

Modified: trunk/src/modules/filters/osishtmlhref.cpp
===================================================================
--- trunk/src/modules/filters/osishtmlhref.cpp	2007-07-08 07:09:53 UTC (rev 2059)
+++ trunk/src/modules/filters/osishtmlhref.cpp	2007-07-13 15:33:31 UTC (rev 2060)
@@ -520,7 +520,7 @@
 			outText("\">", buf, u);
 
 // we do this because BibleCS looks for this EXACT format for an image tag
-			outText("<image src=\"", buf, u);
+			outText("<image border=0 src=\"", buf, u);
 			outText(filepath, buf, u);
 			outText("\" />", buf, u);
 

Modified: trunk/src/modules/filters/thmlhtmlhref.cpp
===================================================================
--- trunk/src/modules/filters/thmlhtmlhref.cpp	2007-07-08 07:09:53 UTC (rev 2059)
+++ trunk/src/modules/filters/thmlhtmlhref.cpp	2007-07-13 15:33:31 UTC (rev 2060)
@@ -330,7 +330,7 @@
 				}
 				buf += *c;
 			}
-			buf += "></a>";
+			buf += " border=0></a>";
 		}
 		else {
 			buf += '<';




More information about the sword-cvs mailing list