【发布时间】:2014-07-31 00:57:28
【问题描述】:
CODE:
//This html is store in a div of someclass
<a>"i"
"f you think the perfect yo clone has not been build then there is ...."
我得到了这样的输出!!
我的主要代码在这里
var question_main = document.getElementsByClassName("someclass");
question = $(question_main).html();
var specialElementHandlers_main = {
'#test': function(element, renderer){
return true;
}
};
doc.fromHTML(question, 15, length, {
'width': 175,
'elementHandlers': specialElementHandlers_main
});
为什么我在 py pdf 中得到一些其他值(按)有什么问题?如何解决? 有什么办法可以消除 "i" 和 "f you.. 之间的差距。我认为他们正在制造一些问题?
【问题讨论】:
标签: javascript jquery html jspdf