Commit bfc4c85f authored by Nigel McNie's avatar Nigel McNie
Browse files

HTML clean the view description

parent 20ca5995
...@@ -4,6 +4,7 @@ function export_form_cell_html($element) { ...@@ -4,6 +4,7 @@ function export_form_cell_html($element) {
$strclicktopreview = get_string('clicktopreview', 'export'); $strclicktopreview = get_string('clicktopreview', 'export');
$previewimg = theme_get_url('images/icon-display.png'); $previewimg = theme_get_url('images/icon-display.png');
$strpreview = get_string('Preview'); $strpreview = get_string('Preview');
$element['description'] = clean_html($element['description']);
return <<<EOF return <<<EOF
<td> <td>
{$element['html']} {$element['labelhtml']} {$element['html']} {$element['labelhtml']}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment