D 
		
				
			
		Deleted member 122910
Guest
I made a custom BBCode that takes an URL, verify the link, do some stuff, and display the URL with custom formatting
Something like that:
	
	
	
		
When I post an URL with my custom BBcode, it looks fine at first:

But after posting, the URL is parsed into an embedded link with the page title

How can I prevent parsing url and stripping all bbcode inside my function? I want to keep the raw url as string
Thanks
				
			Something like that:
		Code:
	
	class myaddon_bbcode_downloadLink
{
    public static function whatever(array $tag, array $rendererStates, XenForo_BbCode_Formatter_Base $formatter)
    {
        $content = $tag['children'];
           // do some stuff
        return $content;
    }
}When I post an URL with my custom BBcode, it looks fine at first:

But after posting, the URL is parsed into an embedded link with the page title

How can I prevent parsing url and stripping all bbcode inside my function? I want to keep the raw url as string
Thanks
 
 
		 
 
		