Question

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 ...."

i got the output like this!!enter image description here

and my main code is here

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

                                  });

What wrong in that why i am getting some othere values(by) in py pdf? How to solve it? Is there any way so that i can remove the gap between "i" nd "f you...I think they are creating some problems?

Was it helpful?

Solution

This is because jspdf does not support UTF-8 characters don’t to don't

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top