1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!perl
use warnings;
use strict;
use lib 't/';
use Util;
checkit( [
[ 'attr-unclosed-entity' => qr/Entity ? is missing its closing semicolon/ ],
[ 'attr-unclosed-entity' => qr/Entity ö is missing its closing semicolon/ ],
], [<DATA>] );
__DATA__
<HTML>
<HEAD>
<TITLE>Test stuff</TITLE>
</HEAD>
<BODY BGCOLOR="Unclosed entity at end of attr ?">
<a href="http://imotorhead.com/" title="Motö rhead rulez!">Motörhead</a>
<a href="http://imotorhead.com/" title="Motö rhead rulez!">Motörhead</a>
</BODY>
</HTML>
|