From 28707edd729f3572cb45d84d72a742a477e62fc3 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 19 Mar 2013 18:36:27 +0000 Subject: [PATCH] Decode paths for TiddlyFox --- core/modules/savers/tiddlyfox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/savers/tiddlyfox.js b/core/modules/savers/tiddlyfox.js index 74e6a6b69..2da109a67 100644 --- a/core/modules/savers/tiddlyfox.js +++ b/core/modules/savers/tiddlyfox.js @@ -20,7 +20,7 @@ TiddlyFoxSaver.prototype.save = function(text) { if(messageBox) { // Create the message element and put it in the message box var message = document.createElement("div"); - message.setAttribute("data-tiddlyfox-path",document.location.pathname); + message.setAttribute("data-tiddlyfox-path",decodeURIComponent(document.location.pathname)); message.setAttribute("data-tiddlyfox-content",text); messageBox.appendChild(message); // Create and dispatch the custom event to the extension