mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-26 08:56:52 +00:00
Temporary fix for link behaviour
There will soon be link massager plugins that apply this kind of processing
This commit is contained in:
parent
d126605479
commit
5aaa00eee5
@ -56,6 +56,9 @@ exports.executeMacro = function() {
|
||||
linkInfo.attributes = {
|
||||
href: linkInfo.to
|
||||
};
|
||||
if(!linkInfo.isExternal) {
|
||||
linkInfo.attributes.href = encodeURIComponent(linkInfo.to);
|
||||
}
|
||||
// Generate the default classes for the link
|
||||
linkInfo.attributes["class"] = ["tw-tiddlylink"];
|
||||
if(linkInfo.isExternal) {
|
||||
|
Loading…
Reference in New Issue
Block a user