parent
aecfb2eb97
commit
9d2f0be24c
|
@ -27,13 +27,13 @@ class Zend_View_Helper_PluginOutput extends Zend_View_Helper_Abstract
|
|||
'@@@@@@',
|
||||
);
|
||||
|
||||
public function pluginOutput($output)
|
||||
public function pluginOutput($output, $raw = false)
|
||||
{
|
||||
if (empty($output)) {
|
||||
return '';
|
||||
}
|
||||
$output = preg_replace('~<br[^>]+>~', "\n", $output);
|
||||
if (preg_match('~<\w+[^>^\\\]{,60}>~', $output)) {
|
||||
if (preg_match('~<\w+[^>^\\\]{0,60}>~', $output)) {
|
||||
// HTML
|
||||
$output = preg_replace('~<table~', '<table style="font-size: 0.75em"',
|
||||
$this->getPurifier()->purify($output)
|
||||
|
|
Loading…
Reference in New Issue