 |
khranim Newbie
Joined: 05 May 2006 Posts: 4
|
Posted: Fri May 05, 2006 6:17 pm
html trigger |
Awhile ago I had a friend create a trigger for me that would create an in-window hyperlink when a URL was displayed in the main window. For some reason, perhaps after a zmud upgrade, the trigger stopped working, and now I see nothing, not the original text, not the hyperlink, simply blank space where the URL would be.
Here is the trigger as I have it
#TRIG {(%q)({http|ftp|telnet}://%x)(%q)} {#SUB {~<A '%quote(%2)'>%1%2%3~</A>}}
I didn't write it, so I'm not exactly sure what's gone wrong but it looks okay to me.
Any ideas why it would return a blank line? |
|
|
 |
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Fri May 05, 2006 11:16 pm |
It works perfectly in a blank mud window, some of your preference may be messing it up.
|
|
_________________ Taz :) |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4772 Location: Pensacola, FL, USA
|
Posted: Sat May 06, 2006 5:49 am |
if the line ends in a period it might mess up, that was always my problem with a url capture
|
|
_________________ Discord: Shalimarwildcat |
|
|
 |
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Sat May 06, 2006 9:41 am |
I just tried that in a blank mud window and yes if the address end in a period then everything but the final period is hyperlinked.
|
|
_________________ Taz :) |
|
|
 |
|
|