use strict; use warnings; use RT::Test nodb => 1, tests => undef; use RT::Interface::Web; # This gets us HTML::Mason::Commands use Test::LongString; { my $html = '
OH HAI

Moose

'; my $expected = '
OH HAI

Moose

'; is_string(scrub_html($html), $expected, "class and id are stripped"); } sub scrub_html { return HTML::Mason::Commands::ScrubHTML(shift); } done_testing;