Hi FND,

On 30 Okt., 16:11, FND <[email protected]> wrote:
> > 1) Are there any core-code functions to URL-Encode?
>
> There are, in fact, native JavaScript functions:
>      http://xkr.us/articles/javascript/encode-compare/

Thanks for the pointers... I should've figured that myself. Well,
loads of trees, but at times still not seeing the forest.

On 30 Okt., 16:11, FND <[email protected]> wrote:
> > 2) Shouldn't the core code's regex take only care of the first '|' and
> > ignore all the others, so that...
> > [img[my title|http://server.com/getImg.php?a|b|c]]
> > would still work?
>
> What if you wanted a pipe character in the link label instead?
> It might be worth raising a ticket for this though, as it seems neither
> behavior is well defined at the moment.
>
> -- F.

Good point... as for the label, I don't see how that could be achieved
other than through some sort of escaping à la \|, which could work as
backslashes neither are your usual friends in image labels, nor
initiating some sort of server request... so could backslashes then be
your usual escape character for [img[... or simply [[link\-\l\a\b\e\l
\!|http://to.some.where.net/a|b|c]] ?

Tobias.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to