From 4e58d4824e3369cecbcc4ae6054d2f6df2c50cb1 Mon Sep 17 00:00:00 2001 From: sostler Date: Thu, 20 May 2010 16:03:12 -0400 Subject: Removed away.js and cookie.js, added svg support --- src/site.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/site.clj b/src/site.clj index a472dfe..4454da3 100644 --- a/src/site.clj +++ b/src/site.clj @@ -640,7 +640,7 @@ ORDER BY msg_count DESC") ;; http://snippets.dzone.com/posts/show/6995 (def single-url-regex #"(?i)^((http\:\/\/|https\:\/\/|ftp\:\/\/)|(www\.))+(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$") -(def pic-regex #"(?i)\.(jpg|jpeg|png|gif|bmp|ico)$") +(def pic-regex #"(?i)\.(jpg|jpeg|png|gif|bmp|svg)$") (defn strip-params [s] (.replaceFirst s "\\?.*$" "")) @@ -1087,6 +1087,7 @@ ORDER BY msg_count DESC") "js" "text/javascript" "pdf" "application/pdf" "png" "image/png" + "svg" "image/svg+xml" "swf" "application/x-shockwave-flash" "txt" "text/plain" "xml" "text/xml" -- cgit v1.2.3-70-g09d2