r22087 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Tue Jun 27 19:28:28 UTC 2017
Author: jghali
Date: Tue Jun 27 19:28:28 2017
New Revision: 22087
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22087
Log:
#14884: One more fix for "A blank character is added when importing an html file"
Modified:
trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
Modified: trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22087&path=/trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp (original)
+++ trunk/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp Tue Jun 27 19:28:28 2017
@@ -397,7 +397,10 @@
else
--listLevel;
if (listLevel == -1)
+ {
+ lastCharWasSpace = true;
writer->append("\n");
+ }
}
else if (name == "ol")
{
@@ -431,7 +434,10 @@
--listLevel;
}
if (listLevel == -1)
+ {
+ lastCharWasSpace = true;
writer->append("\n");
+ }
}
else if (name == "li")
{
More information about the scribus-commit
mailing list