[Affelio-cvs 1104] CVS update: affelio/apps/diary

Back to archive index

Yoshihisa Fukuhara higef****@users*****
2006年 3月 3日 (金) 11:50:36 JST


Index: affelio/apps/diary/Diary.pm
diff -u affelio/apps/diary/Diary.pm:1.37 affelio/apps/diary/Diary.pm:1.38
--- affelio/apps/diary/Diary.pm:1.37	Wed Mar  1 18:33:13 2006
+++ affelio/apps/diary/Diary.pm	Fri Mar  3 11:50:36 2006
@@ -492,7 +492,7 @@
 		$str =~ s/</&lt;/g;
 		$str =~ s/>/&gt;/g;
 		$str =~ s/&lt;(\/?)(a|p|i|b|big|strong|small|em|u|blockquote|br)&gt;/<$1$2>/ig;
-		$str =~ s/&lt;image=&quot;([A-Za-z0-9\-\_]*\.(jpg)|(png)|(gif)|(bmp)|(jpeg))&quot;&gt;/<image="$1">/ig;
+		$str =~ s/&lt;image=&quot;([A-Za-z0-9\-\_]*\.(jpg|png|gif|bmp|jpeg))&quot;&gt;/<image="$1">/ig;
 
 		$str =~ s/&lt;a +href=(&quot;)?(s?https?:\/\/[-_.!~*'()a-zA-Z0-9;\/?:\@&=+\$,%#]+) *(&quot;)? *&gt;/<a href="$2">/ig;
 		$str =~ s/&quot;"/"/g;


Affelio-cvs メーリングリストの案内
Back to archive index