yanwong / ganon

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

span with line break seems to inject br tag. #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The parser seems to be inserting the <br> tag anytime I have a span followed by 
a link break.

Ex: When presented with the following HTML
<span>
1
</span>

I expect the following (when using $html->select('body')

<span>
1
</span>

Instead all <span> with breaks are replaced with:
<span><br/>
1<br/>
</span><br/>

Using version. 72

Original issue reported on code.google.com by ngmalo...@gmail.com on 16 Jul 2012 at 5:44

GoogleCodeExporter commented 8 years ago
Sorry for the late response, vacation got in the way.
Can you please post an example script? I cannot reproduce this.

Original comment by niels....@gmail.com on 7 Aug 2012 at 8:59

GoogleCodeExporter commented 8 years ago
Invalid until an example is posted.

Original comment by niels....@gmail.com on 14 Aug 2012 at 6:29