Skip to content
This repository
tag: 2.10
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (15 sloc) 0.319 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use warnings;
use strict;
require 't/LintTest.pl';

checkit( [
    [ 'elem-empty-but-closed' => qr/<hr> is not a container -- <\/hr> is not allowed/ ],
], [<DATA>] );
    
__DATA__
<HTML>
    <HEAD>
<TITLE>Test stuff</TITLE>
    </HEAD>
    <BODY BGCOLOR="white">
<HR>This is a bad paragraph</HR>
    </BODY>
</HTML>
Something went wrong with that request. Please try again.