alecpl
2008-06-11 6025c83ba58e016721cf02a251c917cf6fd58968
- mce_editable field is not used in tinymce3, so detect html-editable textarea by class name


1 files modified
3 ■■■■ changed files
program/include/html.php 3 ●●●● patch | view | raw | blame | history
program/include/html.php
@@ -441,9 +441,10 @@
            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));
    }
}