Parent Directory | Revision Log | Patch
revision 18 by dpavlin, Wed Dec 12 23:01:18 2007 UTC | revision 19 by dpavlin, Wed Dec 12 23:08:14 2007 UTC | |
---|---|---|
# | Line 154 sub convert_markup { | Line 154 sub convert_markup { |
154 | $body =~ s,----(\S+),----\n$1,gs; | $body =~ s,----(\S+),----\n$1,gs; |
155 | ||
156 | # attachments | # attachments |
157 | $body =~ s,\[attachment:([^\]]+)(gif|png|jpg|jpeg)\],{image: $1$2},gis; | |
158 | $body =~ s,\[attachment:([^\]]+)\],{file: $1},gs; | $body =~ s,\[attachment:([^\]]+)\],{file: $1},gs; |
159 | ||
160 | return $body; | return $body; |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |