Commit 9fcd84ed authored by Nigel McNie's avatar Nigel McNie
Browse files

Now the default render_self for internal artefacts escapes their output, need...

Now the default render_self for internal artefacts escapes their output, need to make sure the introduction is treated as HTML.
parent 2b9b0829
......@@ -429,7 +429,11 @@ class ArtefactTypeEmail extends ArtefactTypeProfileField {
}
class ArtefactTypeStudentid extends ArtefactTypeProfileField {}
class ArtefactTypeIntroduction extends ArtefactTypeProfileField {}
class ArtefactTypeIntroduction extends ArtefactTypeProfileField {
public function render_self($options) {
return array('html' => clean_html($this->title), 'javascript' => null);
}
}
class ArtefactTypeWebAddress extends ArtefactTypeProfileField {
public function render_self($options) {
......
Markdown is supported
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