http://trac.tiddlywiki.org/changeset/12282
MartinBudden
2010-07-20 06:12:56 -0700 (Tue, 20 Jul 2010)
79
Ticket #1229
"URIError: malformed URI sequence" exception when wikifying links
---------------
U Trunk/core/js/Formatter.js
---------------
Modified: Trunk/core/js/Formatter.js
===================================================================
--- Trunk/core/js/Formatter.js 2010-07-20 12:23:32 UTC (rev 12281)
+++ Trunk/core/js/Formatter.js 2010-07-20 13:12:56 UTC (rev 12282)
@@ -309,10 +309,10 @@
// Pretty bracketted link
var link = lookaheadMatch[3];
e = (!lookaheadMatch[2] &&
config.formatterHelpers.isExternalLink(link)) ?
-
createExternalLink(w.output,link) :
createTiddlyLink(w.output,decodeURIComponent(link),false,null,w.isStatic,w.tiddler);
+
createExternalLink(w.output,link) :
createTiddlyLink(w.output,link,false,null,w.isStatic,w.tiddler);
} else {
// Simple bracketted link
- e =
createTiddlyLink(w.output,decodeURIComponent(text),false,null,w.isStatic,w.tiddler);
+ e =
createTiddlyLink(w.output,text,false,null,w.isStatic,w.tiddler);
}
createTiddlyText(e,text);
w.nextMatch = this.lookaheadRegExp.lastIndex;
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en.