r18260 by jghali - #11015: Explain hack to avoid importing from HTML the embedded images as text

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 20 14:16:41 UTC 2013


Author: jghali
Date: Sat Apr 20 14:16:41 2013
New Revision: 18260

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18260
Log:
#11015: Explain hack to avoid importing from HTML the embedded images as text

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=18260&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 Sat Apr 20 14:16:41 2013
@@ -222,7 +222,11 @@
 				if (attrValue.indexOf("data:image") < 0)
 					imgline +=  " src: " + attrValue;
 				else
+				{
+					// TODO: correctly emebed the image (just putting the source in the
+					// text frame crashes scribus for big images; ale/20120808)
 					imgline +=  " src: embedded image";
+				}
 			}
 			if (attrs.localName(i) == "alt")
 			{




More information about the scribus-commit mailing list