xref: /PHP-7.1/ext/tidy/tests/003.phpt (revision 7af945e2)
1--TEST--
2tidy_clean_repair()
3--SKIPIF--
4<?php if (!extension_loaded("tidy")) print "skip"; ?>
5--FILE--
6<?php
7
8	$a = tidy_parse_string("<HTML></HTML>");
9	tidy_clean_repair($a);
10	echo tidy_get_output($a);
11
12?>
13--EXPECTF--
14<!DOCTYPE html%S>
15<html>
16<head>
17<title></title>
18</head>
19<body>
20</body>
21</html>
22