use strict; use warnings; use Test::More tests => 17; use HTML::FormFu::Util qw( literal has_xml_attribute xml_escape ); { # has literal in literal my %attr = ( key => literal(" literal("<foo <bar <baz") ); ok( has_xml_attribute( \%attr, "key", " " "