when element is frozen should not escape html entities in htmleditor.

This commit is contained in:
jamiesensei
2007-07-16 06:04:20 +00:00
parent ac04f85d82
commit bb90bf3fb2
+11
View File
@@ -84,5 +84,16 @@ class MoodleQuickForm_htmleditor extends MoodleQuickForm_textarea{
}
} //end func toHtml
/**
* What to display when element is frozen.
*
* @access public
* @return string
*/
function getFrozenHtml()
{
$html = format_text($this->getValue());
return $html . $this->_getPersistantData();
} //end func getFrozenHtml
}
?>