when element is frozen should not escape html entities in htmleditor.
This commit is contained in:
@@ -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
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user