diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-11 10:23:33 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-11 10:23:33 +0800 |
commit | dd9accca113a8ab310d69af18ce4bdf3c9fde56a (patch) | |
tree | 5227cf69dbe6c6a5de732370427ba400705125de /util | |
parent | c8046cee8867d4554623ad58eaf9f98fc60c1c5a (diff) | |
download | pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.tar pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.tar.gz pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.tar.bz2 pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.tar.lz pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.tar.xz pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.tar.zst pttbbs-dd9accca113a8ab310d69af18ce4bdf3c9fde56a.zip |
ignore
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1044 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/udnnews.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/udnnews.pl b/util/udnnews.pl index 21e3262c..fd02efc3 100644 --- a/util/udnnews.pl +++ b/util/udnnews.pl @@ -43,6 +43,7 @@ sub getudnnewscontent($$) # ($content) = $buf =~ m|<p><font color="#CC0033" class="text12">(.*?)<tr valign="top">|s if( !$content ); $content =~ s/<p>/\n/gi; $content =~ s/<.*?>//g; + $content =~ s/ //g; $content =~ s/\r//g; $content =~ s/\n+/\n/gs; $content = strreplace($content); |