From: Michael Andreen Date: Tue, 9 Jan 2007 08:37:06 +0000 (+0000) Subject: italic and urls X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;h=357771321a777a2dd3ec8524c3cb26a824ecf2e3;hp=e2c6bdb96bc370241c8948734c34142110d9066e;p=ndwebbie.git italic and urls --- diff --git a/ND/Web/Include.pm b/ND/Web/Include.pm index 9206ba4..ea7db46 100644 --- a/ND/Web/Include.pm +++ b/ND/Web/Include.pm @@ -65,6 +65,8 @@ sub parseMarkup { $text =~ s{\n}{\n
}g; $text =~ s{\[B\](.*?)\[/B\]}{$1}gi; + $text =~ s{\[I\](.*?)\[/I\]}{$1}gi; + $text =~ s{\[url\](.*?)\[/url\]}{$1}gi; return $text; }