# -*-perl-*-
use strict;
use Test::More 'no_plan';
use lib "$ENV{LJHOME}/cgi-bin";
require 'ljlib.pl';
require 'cleanhtml.pl';
use HTMLCleaner;
my $lju_sys = LJ::ljuser("system");
my $clean = sub {
my $raw = shift;
my %opts = @_;
LJ::CleanHTML::clean_event(\$raw, {
});
return $raw;
};
my $html;
$html = $clean->(qq{
My video: [
http://vidmg.photobucket.com/albums/0603/awelch/videos/MVI_2967.flv
]
});
like($html, qr/