xref: /PHP-8.2/ext/tidy/tests/003.phpt (revision 7f2f0c00)
1--TEST--
2tidy_clean_repair()
3--EXTENSIONS--
4tidy
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