r15330 by jghali - #9258: Importing HTML adds spaces

scribus-commit scribus-commit at lists.scribus.net
Tue Jul 13 00:40:42 CEST 2010


Revision: 15330
Author: jghali
Date: 2010-07-12T22:35:29.820194Z
Commit message: #9258: Importing HTML adds spaces

Changeset: 
M  /branches/Version135/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp

Diffs:
Index: scribus/plugins/gettext/htmlim/htmlreader.cpp
===================================================================
--- scribus/plugins/gettext/htmlim/htmlreader.cpp	(revision 15329)
+++ scribus/plugins/gettext/htmlim/htmlreader.cpp	(revision 15330)
@@ -256,7 +256,7 @@
 			if (fcis)
 				tmp = " " + tmp;
 
-		if (lcis)
+		if (lcis && !(fcis && tmp.length() <= 1))
 			tmp = tmp + " ";
 		lastCharWasSpace = lcis;
 		if ((inLI) && (!addedLI))




More information about the scribus-commit mailing list