Quantcast
Channel: HTML Renderer
Viewing all articles
Browse latest Browse all 693

Created Unassigned: PDF generation fails for tables with span element [9064]

$
0
0
This is an example of table which contains span element inside cell. Function TheArtOfDev.HtmlRenderer.PdfSharp.PdfGenerator.GeneratePdf generates just blank page. In some cases, Adobe Reader even reports that PDF is invalid. Without span it works fine. Due to this bug it's impossible to render Word generated tables to PDF.

```
<table>
<tr><td><span>123</span></td></tr>
</table>
```

Fails also for font and maybe for some other tags.
```
<table>
<tr><td><font>123</font></td></tr>
</table>
```

PS. - Thanks for this great library and keep up that good work!

Viewing all articles
Browse latest Browse all 693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>