ii uri. Some code removed

This commit is contained in:
Difrex(Denis Zheleztsov) 2014-08-07 20:21:54 +04:00
parent 4c46f821f0
commit d6e72cbe10

View File

@ -172,9 +172,9 @@ sub pre {
$post =~ s/\[img (.+)\]/<a href="$1"><img src="$1" width="15%" height="15%" \/><\/a>/g;
# ii uri
$post =~ s/ii:\/\/(.+\.\d{1,2,3,4}),?.+/<a href="\/e?echo=$1&view=thread">$1<\/a>/g;
$post =~ s/ii:\/\/(.{20})/<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;
$post =~ s/(.?)\n/$1<br>\n/g;
$post =~ s/\*(.+)/<li>$1<\/li>\n/g;