Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The input "<p>0</p>" is not handled correctly #56

Closed
Crusse opened this issue Jul 31, 2014 · 0 comments
Closed

The input "<p>0</p>" is not handled correctly #56

Crusse opened this issue Jul 31, 2014 · 0 comments

Comments

@Crusse
Copy link

Crusse commented Jul 31, 2014

$html5 = new HTML5();
$doc = $html5->loadHTML( "<!DOCTYPE html>\n<html><head><title></title></head><body><p>0</p><p>1</p></body></html>" );
echo $html5->saveHTML( $doc );

Result:

<!DOCTYPE html>
<html><head><title></title></head><body><p></p><p>01</p></body></html>

I'm using html5-php 2.0.0 and PHP 5.3.3-7+squeeze15.

@goetas goetas closed this as completed in 50d439e Aug 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant