1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Added SVG file extension info

This commit is contained in:
Jeremy Ruston 2012-05-09 17:34:27 +01:00
parent c9fc19ed1c
commit 1741ea2df9

View File

@ -64,7 +64,8 @@ $tw.config.fileExtensions = {
".jpg": {type: "image/jpeg", encoding: "base64"},
".jpeg": {type: "image/jpeg", encoding: "base64"},
".png": {type: "image/png", encoding: "base64"},
".gif": {type: "image/gif", encoding: "base64"}
".gif": {type: "image/gif", encoding: "base64"},
".svg": {type: "image/svg+xml", encoding: "utf8"}
};
/////////////////////////// Utility functions