Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] url with brackets [C-Michael83]
#11
A user had an idea that could be a workaround for this issue: We could add an additional regex so that you can use quotation marks inside the url tags:
[url="http://www.example.com/index.php?artikel[id]=10"]Linktitel[/url]
        $standard_mycode['url_bracket']['regex'] = "#\[url=\"([a-z]+?://)(.+?)\"\](.+?)\[/url\]#esi";
        $standard_mycode['url_bracket']['replacement'] = "\$this->mycode_parse_url(\"$1$2\", \"$3\")";

        $standard_mycode['url_bracket2']['regex'] = "#\[url=\"(.+?)\"\](.+?)\[/url\]#esi";
        $standard_mycode['url_bracket2']['replacement'] = "\$this->mycode_parse_url(\"$1\", \"$3\")"; 
Greets,
Michael
-------------
[Image: donation_drive_sig.png]


Messages In This Thread
[F] url with brackets [C-Michael83] - by RII - 2008-10-04, 09:11 AM
RE: url with brackets - by Yumi - 2008-10-04, 01:00 PM
RE: url with brackets - by Martin M. - 2008-10-04, 01:50 PM
RE: [B] url with brackets - by Yumi - 2008-10-05, 11:19 PM
RE: [B] url with brackets - by Martin M. - 2008-10-06, 07:33 AM
RE: [B] url with brackets - by Dennis Tsang - 2008-10-06, 07:52 AM
RE: [B] url with brackets - by Martin M. - 2008-10-06, 05:14 PM
RE: [B] url with brackets - by Yumi - 2008-10-06, 10:40 PM
RE: [B] url with brackets - by Martin M. - 2008-10-07, 11:00 AM
RE: [F] url with brackets - by Yumi - 2008-10-18, 12:49 PM
RE: [F] url with brackets [C-Michael83] - by Michael S. - 2008-11-11, 11:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)