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

mgruner at crosswire.org mgruner at crosswire.org
Wed Dec 15 04:08:32 MST 2004


Author: mgruner
Date: 2004-12-15 04:08:31 -0700 (Wed, 15 Dec 2004)
New Revision: 1683

Modified:
   trunk/src/modules/filters/osishtmlhref.cpp
Log:
Filter beautification. Hope this is ok.



Modified: trunk/src/modules/filters/osishtmlhref.cpp
===================================================================
--- trunk/src/modules/filters/osishtmlhref.cpp	2004-12-02 03:04:45 UTC (rev 1682)
+++ trunk/src/modules/filters/osishtmlhref.cpp	2004-12-15 11:08:31 UTC (rev 1683)
@@ -45,8 +45,9 @@
 	addEscapeStringSubstitute("lt", "<");
 	addEscapeStringSubstitute("gt", ">");
 	addEscapeStringSubstitute("quot", "\"");
-	addTokenSubstitute("lg", "<br />");
-	addTokenSubstitute("/lg", "<br />");
+	
+	addTokenSubstitute("lg", "<p>"); // line group, seems more logical and beautiful to use <p> for it
+	addTokenSubstitute("/lg","</p>");
 
 	setTokenCaseSensitive(true);
 }



More information about the sword-cvs mailing list