提交 210785c8 编写于 作者: C campaign

by zhanyi

上级 22a8152e
......@@ -453,10 +453,11 @@
*/
getAllHtml:function () {
var me = this,
headHtml = {html:''},
headHtml = [],
html = '';
me.fireEvent( 'getAllHtml', headHtml );
return '<html><head>' + (me.options.charset ? '<meta http-equiv="Content-Type" content="text/html; charset=' + me.options.charset + '"/>' : '') + me.document.getElementsByTagName( 'head' )[0].innerHTML + headHtml.html + '</head>'
return '<html><head>' + (me.options.charset ? '<meta http-equiv="Content-Type" content="text/html; charset=' + me.options.charset + '"/>' : '')
+ me.document.getElementsByTagName( 'head' )[0].innerHTML + headHtml.join('\n') + '</head>'
+ '<body ' + (ie && browser.version < 9 ? 'class="view"' : '') + '>' + me.getContent( null, null, true ) + '</body></html>';
},
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册