Categories > TinyButStrong general >

display urlencoded links

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Jared
Date: 2008-06-05
Time: 05:13

display urlencoded links

Hi,

I would like to display urlencoded link text nicely.
$link = urlencode('test & string');

displays <a href=test+%26+string>test+%26+string</a>

I would like the link text to not show up encoded. Do I need to take care of this in my code, or can tbs decode this automatically without having to make a callback function?

- Jared
By: Skrol29
Date: 2008-06-05
Time: 10:32

Re: display urlencoded links

Hi Jared,

It is not featured in native. You have to use parameter "onformat" with a custom function to have this conversion.
By: Skrol29
Date: 2008-06-05
Time: 10:32

Re: display urlencoded links

Hi Jared,

It is not featured in native. You have to use parameter "onformat" with a custom function to have this conversion.
By: Jared
Date: 2008-06-05
Time: 10:35

Re: display urlencoded links

OK, thanks for the reply. I'll format my data differently.

- Jared