title: JsPdf add support for HTML colspan
body: <p>I am using <code>JsPDF</code> for to export a PDF.
  It does not support HTML table colspan or CSS. So how can I export a complete pdf with a working HTML table with the CSS.</p>
  <p>I have already tried with following <code>jsPlugins</code></p>
  <pre><code>&lt;script type=&quot;text/javascript&quot; src=&quot;myproject/js/highcharts/jspdf.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;myproject/js/highcharts/jspdf.debug.js&quot;&gt;&lt;/script&gt;
  &lt;script type=&quot;text/javascript&quot; src=&quot;myproject/js/highcharts/jspdf.plugin.from_html.js&quot;&gt;&lt;/script&gt;
  </code></pre>
  <p>HTML</p>
  <pre><code>&lt;table id=&quot;mytable&quot;&gt;
      &lt;tr&gt;
          &lt;td&gt;headding 1&lt;/td&gt;
          &lt;td&gt;headding 2&lt;/td&gt;
          &lt;td&gt;headding 3&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;col 1&lt;/td&gt;
          &lt;td colspan=&quot;2&quot; &gt;col 2 and 3&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;col 1&lt;/td&gt;
          &lt;td&gt;col 2&lt;/td&gt;
          &lt;td&gt;col 3&lt;/td&gt;
      &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  <p>Javascript</p>
  <pre><code>var specialElementHandlers = {
      '#bypassme': function (element, renderer) {
          return true;
      }
  };
  
  doc.fromHTML($('#mytable').get(0), xx, yy+=60, {
      'width': 540,
      'elementHandlers': specialElementHandlers
  });
  </code></pre>
  <p>PDF output
  <img src="https://i.stack.imgur.com/cuFTU.jpg" alt="enter image description here" /></p>