summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-29 14:06:17 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-29 14:06:17 +0800
commite3d46d5b426120793937938158de0e1f5a48925e (patch)
treeeda56de28cff27f579bcefdd322880fbb717b83f
parent2f5d99f17444a73f7ee6c2e8cadecdf7ea47d95c (diff)
downloadpttbbs-e3d46d5b426120793937938158de0e1f5a48925e.tar
pttbbs-e3d46d5b426120793937938158de0e1f5a48925e.tar.gz
pttbbs-e3d46d5b426120793937938158de0e1f5a48925e.tar.bz2
pttbbs-e3d46d5b426120793937938158de0e1f5a48925e.tar.lz
pttbbs-e3d46d5b426120793937938158de0e1f5a48925e.tar.xz
pttbbs-e3d46d5b426120793937938158de0e1f5a48925e.tar.zst
pttbbs-e3d46d5b426120793937938158de0e1f5a48925e.zip
border:0 for [img]
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@990 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rwxr-xr-xblog/blog.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/blog/blog.pl b/blog/blog.pl
index 515c1e65..f64b6b5b 100755
--- a/blog/blog.pl
+++ b/blog/blog.pl
@@ -1,5 +1,5 @@
#!/usr/bin/perl
-# $Id: blog.pl,v 1.24 2003/06/25 08:00:32 in2 Exp $
+# $Id: blog.pl,v 1.25 2003/06/29 06:06:17 in2 Exp $
use CGI qw/:standard/;
use lib qw/./;
use LocalVars;
@@ -283,7 +283,7 @@ sub applyfilter($$)
$c =~ s|\[email\](.*?)\[/email\]|<a href="mailto:$1">$1</a>|gsi;
$c =~ s|\[b\](.*?)\[/b\]|<b>$1</b>|gsi;
$c =~ s|\[i\](.*?)\[/i\]|<i>$1</i>|gsi;
- $c =~ s|\[img\](.*?)\[/img\]|<img src="$1" alt="(null)" />|gsi;
+ $c =~ s|\[img\](.*?)\[/img\]|<img src="$1" alt="(null)" style="border:0;" />|gsi;
}
}
return $c;