2008-11-11, 11:25 PM
(This post was last modified: 2008-11-11, 11:28 PM by Michael S..)
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\")";