The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!perl

use warnings;
use strict;

use lib 't/';
use Util;

checkit( [
    [ 'attr-use-entity'      => qr/Character "\\xF1" should be written as ñ/ ],
    [ 'attr-use-entity'      => qr/Character "&" should be written as &/ ],
    [ 'attr-use-entity'      => qr/Character "&" should be written as &/ ],

], [<DATA>] );

__DATA__
<HTML>
    <HEAD>
        <TITLE>Test stuff</TITLE>
    </HEAD>
    <BODY BGCOLOR="We'll get to it maƱana, which should really have an &ntilde;">
    <a href="#" title="Who wants a peanut butter & jelly?  Mot&ouml;rhead does!  They love rock & roll"></a>
    </BODY>
</HTML>