Skip to content

Commit

Permalink
Item12163: add svg to the list of extensions to be recognized as an i…
Browse files Browse the repository at this point in the history
…mage

git-svn-id: http://svn.foswiki.org/trunk@15615 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Oct 17, 2012
1 parent 77c140f commit ee77fb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Attach.pm
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ sub getAttachmentLink {
# I18N: URL-encode the attachment filename
my $fileURL = Foswiki::urlEncodeAttachment($attName);

if ( $attName =~ /\.(gif|jpg|jpeg|png)$/i ) {
if ( $attName =~ /\.(gif|jpg|jpeg|png|svg)$/i ) {

# inline image

Expand Down

0 comments on commit ee77fb9

Please sign in to comment.