Alux
01-11-2010, 11:44 PM
I *suck* at writing replaces with variables - the syntax boggles my mind, so I was hoping someone here could help with this simple problem.
Due to my laziness, on my new site, i've got an autolink function and a bbocde function - seems like no problem, I got the autolink to convert into BBCode which the BBCode parser then parses. however, when I type the following bbcode:
[ url=http://test.com]Test[/url]
*it's supposed to be without the space, for some reason CODE tags parse it if I don't add in the space*
This is the outcome:
[ url=[ url=http://test.com]http://test.com[/url]]Test[/url]
*it's supposed to be without the space, for some reason CODE tags parse it if I don't add in the space*
Can someone *please* write me a quick eregi replace which would change that (and all other URL bbcodes in that fashion), to this:
[ url=http://test.com]Test[/url]
*it's supposed to be without the space, for some reason CODE tags parse it if I don't add in the space*
Due to my laziness, on my new site, i've got an autolink function and a bbocde function - seems like no problem, I got the autolink to convert into BBCode which the BBCode parser then parses. however, when I type the following bbcode:
[ url=http://test.com]Test[/url]
*it's supposed to be without the space, for some reason CODE tags parse it if I don't add in the space*
This is the outcome:
[ url=[ url=http://test.com]http://test.com[/url]]Test[/url]
*it's supposed to be without the space, for some reason CODE tags parse it if I don't add in the space*
Can someone *please* write me a quick eregi replace which would change that (and all other URL bbcodes in that fashion), to this:
[ url=http://test.com]Test[/url]
*it's supposed to be without the space, for some reason CODE tags parse it if I don't add in the space*