problem justifing text with any inline element
GoogleCodeExporter opened this issue · comments
What steps will reproduce the problem?
<div style="text-align:justify;width:300px">asdasdas asasd<span>as</span>
<strong>AAA</strong> zxczxczx asdasd asd qweqwe1 2312 dasdasd zxczxczx qe
qweqweqwasdas dadasd23232 323asdxc zxc a a da3 12312 ad asd as w ew e 23 32
4 4 3 ad d da sdasdasdas adasdqe 1231 3asdas ad asd</div>
What is the expected output?
All text justified.
What do you see instead?
The first line doesn't justify
What version of dompdf are you using? What version of PHP? On what
operating system?
DOMPDF 0.6.0 beta 3
PHP 5.3.10-1ubuntu3.3 with Suhosin-Patch
Ubuntu 12.04 server
If you remove span element from text, the text justifing works.
Original issue reported on code.google.com by djalmaol...@gmail.com
on 28 Sep 2012 at 7:35
Attachments:
Original comment by eclecticgeek
on 1 Oct 2012 at 2:06
- Changed state: Accepted
Original comment by eclecticgeek
on 24 May 2013 at 3:00
- Added labels: Restrict-AddIssueComment-Commit