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:
parent
c7612ff4ce
commit
a52da67563
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user