Im tryed to modifi the extension to work on internal img and url tags.
Aksly it works, buth i not exactli know what i'm dan. I think whidt this modification, the handle_center_tag definition is not required.
Is this secure?
<hook id="ps_do_bbcode_replace"><![CDATA[
// add pattern to catch [center]blahblah[/center]
$pattern[] = '#\[center\](.*?)\[/center\]#ms';
$replace[] = '<div style="text-align:center">$1</div>';
]]></hook>
ps:
I not spyk englis!