title: jsPDF not printing as it is
body: <p><a href="https://i.stack.imgur.com/lMQfg.jpg" rel="nofollow noreferrer">my HTML page</a>
  <br>
  <a href="https://i.stack.imgur.com/klUBN.jpg" rel="nofollow noreferrer">my PDF</a>
  <br></p>
  
  <p>I want to print the details on HTML page exactly on PDF.<br>
  I am using jsPDF to print the details onto the PDF.<br>
  Here is my code:</p>
  
  <pre><code>var pdf = new jsPDF('p', 'pt', 'a4');
  var source = $('#mymy')[0];
  var specialElementHandlers = {
  // element with id of "bypass" - jQuery style selector
  '#bypassme': function(element, renderer){
      // true = "handled elsewhere, bypass text extraction"
      return true
    }
  }
  
  var margins = {
     top: 80,
     bottom: 60,
     left: 40,
     width: 522
  };
  
  
  pdf.fromHTML(source, margins.left, margins.top, {
      'width': margins.width // max width of content on PDF
      , 'elementHandlers': specialElementHandlers
  },
  function (dispose) {
    // dispose: object with X, Y of the last line add to the PDF 
    //          this allow the insertion of new lines after html
    pdf.save('Test.pdf');
  },
  margins
  )
  </code></pre>
  
  <p>Html code:</p>
  
  <pre><code> &lt;div class="form-group" id="mymy"&gt;
                  &lt;ul ng-repeat="sec in abc" class="media-list tab-pane fade in active" style="border-style: solid;"&gt;
  
                      &lt;ul ng-repeat="k in sec.usertype" ng-if="secs(k._id)"&gt;
                          &lt;div class="panel panel-primary"&gt;
                          &lt;div class="panel-heading"&gt;{{k.sec_name}}&lt;/div&gt; 
                              &lt;div class="panel-body"&gt;
  
                              &lt;ul ng-repeat="l in k.keywords"&gt;                           
  
                              &lt;div class="row" name="options" id="{{k._id}}" ng-if="check(l._id)"&gt;
                             &lt;div class="col-sm-5"&gt; &lt;img src="/client/app/images/t.png" width="20" height="15"&gt;&lt;b&gt;{{l.keyword}}&lt;/b&gt;&lt;/div&gt;
                               &lt;div class="col-sm-5"&gt; &lt;p&gt;{{l.description}}&lt;/p&gt;&lt;/div&gt;                                                              
                              &lt;/div&gt;                            
  
                          &lt;/ul&gt;
                                  &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/ul&gt;                       
  
                  &lt;/ul&gt;       
                  &lt;/div&gt;
  </code></pre>
  
  <p>I want exact page to be printed on PDF.<br>
  I am not familiar with jsPDF.</p>