| | |
| | | protected $allowed; |
| | | protected $content; |
| | | |
| | | protected static $common_attrib = array('id','class','style','title','align'); |
| | | public static $common_attrib = array('id','class','style','title','align'); |
| | | public static $containers = array('div','span','p','h1','h2','h3','form','textarea'); |
| | | public static $lc_tags = true; |
| | | |
| | |
| | | unset($this->attrib['value']); |
| | | } |
| | | |
| | | if (!empty($value) && !isset($this->attrib['mce_editable'])) { |
| | | if (!empty($value) && !ereg('mce_editor', $this->attrib['class'])) { |
| | | $value = Q($value, 'strict', false); |
| | | } |
| | | |
| | | return self::tag($this->tagname, $this->attrib, $value, array_merge(self::$common_attrib, $this->allowed_attrib)); |
| | | } |
| | | } |