/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public function bbcodeAction() { $bbcode = Zend_Markup::factory('Bbcode'); //'b', //'i', 'cite', 'del', 'ins', 'sup', 'sub', 'span', 'acronym', 'url', 'h1', 'img', ); foreach ($remover as $remove) { $bbcode->removeMarkup($remove); } }