[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread Mohammad
Many thanks Mark! I got the point!

Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1752513-c4c3-4585-8d56-9035c2ae0a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread 'Mark S.' via TiddlyWiki
Oh, if you just want to talk about "is it a bug" I would say "No". The 
value from the field is transcluded and rendered as a wiki-link, which is 
just what you would expect. 

Use "inspect element" in your browser and you'll see that the code is 
rendered as:

https://tiddlywiki.com/prerelease/";>JeremyRuston

So there's a link inside a link. The inside link wins, just as it would if 
you made the HTML by hand.

In general, when transcluding text, you want the text to be rendered as 
wikitext. In most cases you would be disappointed if it did not render as 
wiki-text. In the case of JeremyRuston, if you didn't want it to render as 
wikitext, you could precede it with a ~, e.g. ~JeremyRuston , just like you 
would do if his name appeared in a tiddler.

-- Mark

On Friday, October 5, 2018 at 7:10:04 AM UTC-7, Mohammad wrote:
>
> Yes Mark, your solution either works! but for the first case in my 
> question TW considers first the wikified link not the one is given by href 
> e.g
>
> {{!!author}}
>
>
> TW on click navigate to !!author not !!url.
>
> Mohammad
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba2baec3-6063-46ed-b3bd-1bb42415fea6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread PMario
On Friday, October 5, 2018 at 4:10:04 PM UTC+2, Mohammad wrote:
>
> Yes Mark, your solution either works! but for the first case in my 
> question TW considers first the wikified link not the one is given by href 
> e.g
>

JeremyRuston is a CamelCase wikilink. ... Which is inside of your 
a-element. That may be the problem. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/271cfa08-f8c7-4105-b9c6-6bf15b77b37f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread Mohammad
Yes, Mark your solution either works! but for the first case in my question 
TW considers first the wikified link not the one is given by href e.g

{{!!author}}


TW on click navigate to !!author not !!url.

Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1805fd9e-6ee6-4f2c-99b8-ef32a0a25158%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread Mohammad
Tony, that was my mistake (copy paste)! I have edited the post!

- Mohammad

On Friday, October 5, 2018 at 7:03:40 AM UTC+3:30, TonyM wrote:
>
> What are the stray }} towards the end.
>
> Tony
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a189847a-ff88-4ea2-b4da-1e47e25cd613%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-04 Thread 'Mark S.' via TiddlyWiki
Yes, if you remove the curly brackets per Tony's comments that will fix it.

Just so you can have one more way of doing it, you can also:


<$text text={{!!author}}/>

-- Mark


On Thursday, October 4, 2018 at 2:37:11 AM UTC-7, Mohammad wrote:
>
> Look at the below example:
>
> Assume you have a tiddler names myTest with the below fields:
>
>- *url*: https://tiddlywiki.com/prerelease/
>- *author*: JeremyRuston
>
>
> Then the below line show JeremyRuston as a link to a missing tiddler
>
> {{!!author}}
>
> A workaround is 
>
> <$view field="author"}}/>
>
> But it is expected the above href point to url not author!
>
>
> - Mohammad
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a1e2eb07-128f-492d-9d9f-c746a4ca0c74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.