1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-09-09 06:16:06 +00:00

Use decodeURIComponent in share plugin rawmarkup (#7204)

This commit is contained in:
btheado
2023-01-12 12:24:32 -06:00
committed by GitHub
parent c7612ff4ce
commit a52da67563

View File

@@ -17,7 +17,7 @@ var rawHash = document.location.hash.substring(1);
if(rawHash.charAt(0) === "#") { if(rawHash.charAt(0) === "#") {
var hash; var hash;
try{ try{
hash = $tw.utils.decodeURIComponentSafe(rawHash.substring(1)); hash = decodeURIComponent(rawHash.substring(1));
} catch(ex) { } catch(ex) {
console.log("Share plugin: Error decoding location hash",ex); console.log("Share plugin: Error decoding location hash",ex);
} }