Skip to content

Commit

Permalink
Changing HTML empty element logic
Browse files Browse the repository at this point in the history
  • Loading branch information
- committed Oct 15, 2012
1 parent 076a881 commit 7e9c105
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions r2/html/t/cfg_fmt.t
Expand Up @@ -237,12 +237,13 @@ $test_config =~ s/^ \s* ELE_body [^\n]* $/ELE_body is FLO_empty/xms;
$expected_output = <<'END_OF_EXPECTED_OUTPUT';
<html>
<head>
</head>
<body>
<p>
I cannot wait for a start tag</p><p>
I can</p></body>
</html>
</head><body><!--
html_fmt: Next line is cruft
-->I cannot wait for a start tag<!--
html_fmt: Next line is cruft
--><p><!--
html_fmt: Next line is cruft
-->I can</html>
END_OF_EXPECTED_OUTPUT
run_one_test( $test_name, $test_html, \$test_config, \$expected_output );

Expand Down

0 comments on commit 7e9c105

Please sign in to comment.