render-html-to-pdf
render-html-to-pdf copied to clipboard
中英文在同一行不同的<span>中时,导出的pdf不同span会有遮挡,但页面中正常显示
<div class="tit-row" style="float:left">
<span class="main-name">jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj</span>
<span class="full-name">全称:
<span id="fullName" title="">黑龙江哈尔滨111222333</span>
</span>
</div>
比如上面的代码,在页面中显示时好的,导出的pdf中.main-name的内容就会覆盖.full-name中的内容。 因为.main-name中的内容是动态的,没办法设一个固定的宽度。
经过后续测试,在chrome69下存在此问题,在edge浏览器下正常。