Fast fix in ii://

This commit is contained in:
Difrex(Denis Zheleztsov) 2014-08-08 11:08:52 +04:00
parent 1211f6c67b
commit a462db4c4a

View File

@ -172,7 +172,7 @@ sub pre {
$post =~ s/\[img (.+)\]/<a href="$1"><img src="$1" width="15%" height="15%" \/><\/a>/g;
# ii uri
$post =~ s/ii:\/\/(.{20})/<a href="\/send?hash=$1">$1<\/a>/g;
$post =~ s/ii:\/\/(.{20})\s/<a href="\/send?hash=$1">$1<\/a>/g;
# $post =~ s/ii:\/\/(.+\.\d+)/<a href="\/e?echo=$1&view=thread">$1<\/a>/g;
$post =~ s/^$/<br>\n/g;