sdglhm / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

<label> inside <p> tag causes the removal of a whitespace before bold tag #387

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. When sending the text below to dompdf (no CSS needed):

<p><label>Here is some <b>bold</b> text and again <strong>some bold</strong> 
text</label></p>

2. The space before the tag <b> or <strong> is removed.

3. It's not a big issue but sometimes you can some preformatted text that you 
directly output to dompdf (from google maps api for example).

4. When removing the <p> tag it works as expected.

What is the expected output? What do you see instead?

Expected output: Here is some bold text and again some bold text

What I get is: Here is somebold text and againsome bold text

What version of the product are you using? On what operating system?

I am using the revision r436. / Windows 7.

Original issue reported on code.google.com by valentin...@gmail.com on 6 Dec 2011 at 11:50

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 7 Dec 2011 at 3:00

GoogleCodeExporter commented 9 years ago
This problem is not only limited to the  and <strong> tags this issue also 
appears on the <i> and <u> tags 

Original comment by laurens....@llaman.nl on 12 Sep 2012 at 11:54

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00