Skip to content

Commit

Permalink
Fixed issue: Assessment editing not properly working if quota message…
Browse files Browse the repository at this point in the history
…s contain HTML
  • Loading branch information
c-schmitz committed Nov 15, 2020
1 parent 8493b59 commit 3ac2025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/models/Assessment.php
Expand Up @@ -144,7 +144,8 @@ public function getColumns()
array(
'name' => 'message',
'htmlOptions' => ['class' => 'col-sm-5'],
"type" => 'html', // This show all html (filtered, raw show unfiltered html) … maybe need another type , something like strip tag and ellipsize ?
'value'=>'viewHelper::flatEllipsizeText($data->message,true,0)',
"type" => 'raw'
)
);
}
Expand Down

0 comments on commit 3ac2025

Please sign in to comment.