r15329 by jghali - #9258: Importing HTML adds spaces
scribus-commit
scribus-commit at lists.scribus.net
Tue Jul 13 00:40:22 CEST 2010
Revision: 15329
Author: jghali
Date: 2010-07-12T22:33:51.879891Z
Commit message: #9258: Importing HTML adds spaces
Changeset:
M /trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
Diffs:
Index: scribus/plugins/gettext/htmlim/htmlreader.cpp
===================================================================
--- scribus/plugins/gettext/htmlim/htmlreader.cpp (revision 15328)
+++ scribus/plugins/gettext/htmlim/htmlreader.cpp (revision 15329)
@@ -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