mirror of
https://github.com/php/php-src.git
synced 2024-09-28 21:36:12 +00:00
0e3e132a8a
The test suite for the tidy extension was written before HTML5 was "standardized". The new tidy-html5 library will output an HTML5 DOCTYPE in the absence of any other information, so the expected test outputs have been updated to accomodate the absense of an HTML version (which is how you declare "HTML5").
17 lines
270 B
PHP
17 lines
270 B
PHP
--TEST--
|
|
The Tidy Output Buffer Filter
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded("tidy")) print "skip"; ?>
|
|
--FILE--
|
|
<?php ob_start("ob_tidyhandler"); ?>
|
|
<B>testing</I>
|
|
--EXPECTF--
|
|
<!DOCTYPE html%S>
|
|
<html>
|
|
<head>
|
|
<title></title>
|
|
</head>
|
|
<body>
|
|
<b>testing</b>
|
|
</body>
|
|
</html>
|