Commit 4c9e27c4 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

clean_text not clean_html

parent 05f1bf1b
{if $profileiconpath}<div class="fr"><img src="{$profileiconpath|escape}" alt=""></div>{/if}
<p>{$profileinfo.introduction|clean_html}</p>
<p>{$profileinfo.introduction|clean_text}</p>
<ul>
{foreach from=$profileinfo key=key item=item}
......
......@@ -45,7 +45,7 @@ class PluginBlocktypeTextbox extends SystemBlocktype {
$text = (isset($configdata['text'])) ? $configdata['text'] : '';
safe_require('artefact', 'file');
$text = ArtefactTypeFolder::append_view_url($text,$instance->get('view'));
return clean_html($text);
return clean_text($text);
}
public static function has_instance_config() {
......
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