PDA

View Full Version : Custom vBCode - {param} HTML full parsing


zlos
12-21-2005, 07:00 AM
Hi

I have set up a custom BB Code like that:

search1 +search2

where the html code for that looks like:
<a href="http://www.xyz.com/search.php?s={param}>Search for: {param}</a>
The problem is that {param} while equal to "search1 +search2" brings the result, which is not html parsed:
http://www.xyz.com/search.php?s=search1%20+search2
if that would be fully htmlentities parsed, link should be like that:

http://www.xyz.com/search.php?s=search1%20%2Bsearch2
The problem is parsing of "+" to "%2B".

The question: how can I set {param} to be fully html-parsed?

zlos
12-22-2005, 09:26 AM
You are my only hope - guys from vb.com have given up immediately... :(