X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=ND%2FWeb%2FInclude.pm;h=6916392aac0d37a8255574bc8455a9c3b2b24f24;hb=617e6b318a1d053a19255bd3eabc1dbe7fe4e43b;hp=4b9c6295408cff511ee93a215f61a57bae88bc92;hpb=c53f6b0edb492227f9aa6959c4049f5c2e2b27b3;p=ndwebbie.git diff --git a/ND/Web/Include.pm b/ND/Web/Include.pm index 4b9c629..6916392 100644 --- a/ND/Web/Include.pm +++ b/ND/Web/Include.pm @@ -44,6 +44,7 @@ sub parseMarkup ($) { my $tree = BBCode::Parser->DEFAULT->parse($text); $text = $tree->toHTML; }; + $text =~ s/\x{3}\d\d?//g; #mirc color TODO: possibly match until \x{0F} and change to [color] block $text =~ s/[^\x{9}\x{A}\x{D}\x{20}-\x{D7FF}\x{E000}-\x{FFFD}\x{10000}-\x{10FFFF}]//g; return $text; }