.map(function(g) { return g.toDataURL(); })
.filter(function(g) { return g != 'about:blank'; });
- Roo.log(html);
+ //Roo.log(html);
html = this.cleanWordChars(html);
var d = (new DOMParser().parseFromString(html, 'text/html')).body;
return false;
}
+
+
if (images.length > 0) {
-
+ // replace all v:imagedata - with img.
+ Roo.each(d.getElementsByTagName('v:imagedata'), function(node) {
+ node.parentNode.insertBefore(node, document.createElement('img'));
+ node.parentNode.removeChild(node);
+ });
Roo.each(d.getElementsByTagName('img'), function(img, i) {