1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-08 16:30:26 +00:00

Allow format="jpg" as well as the more technically correct "jpeg"

This commit is contained in:
Jeremy Ruston 2024-12-10 12:48:04 +00:00
parent 4eed4cbaa5
commit 925d3b0b4c

View File

@ -36,6 +36,8 @@ exports.startup = function() {
var method = "toPng";
switch(params.format) {
case "jpeg":
// Intentional fallthrough
case "jpg":
method = "toJpeg";
break;
case "svg":