1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-03 20:59:09 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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