开发者

DOMPDF: br tag causes text to justify

开发者 https://www.devze.com 2023-01-24 06:21 出处:网络
Getting a weird problem with DOMPDF.. Wherever I use cont开发者_运维问答ent with a br tag in it..

Getting a weird problem with DOMPDF..

Wherever I use cont开发者_运维问答ent with a br tag in it..

<p>
Something<br/>
Something Else<br/>
Last line
</p>

The rendered output pdf seems to justify the line where the br tag is so it spans across the whole width.

Anyone get that too? Any idea how to prevent it?

I'm on the latest version from the trunk.


uh - thought I'd try that but obviously not.

If i explicitly see the P style to text-align:left that fixes it.

0

精彩评论

暂无评论...
验证码 换一张
取 消