r18259 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:11 UTC 2013
Author: jghali
Date: Sat Apr 20 14:16:11 2013
New Revision: 18259
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18259
Log:
#11015: Explain hack to avoid importing from HTML the embedded images as text
Modified:
branches/Version14x/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
Modified: branches/Version14x/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18259&path=/branches/Version14x/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp (original)
+++ branches/Version14x/Scribus/scribus/plugins/gettext/htmlim/htmlreader.cpp Sat Apr 20 14:16:11 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