Case Description showing HTML

I know this is a very belated reply but I’ve just ran into the same issue and fixed it by creating a file at /custom/modules/Caes/views/view.detail with the following code:


<?php

require_once('include/MVC/View/views/view.detail.php');

class CasesViewDetail extends ViewDetail {
    function display(){
        $this->dv->focus->description = html_entity_decode($this->dv->focus->description);
        parent::display();

    }
}

After making the changes you’ll need to run a repair and rebuild. If you want to remove the html completely you could change the first line of the display method to:

$this->dv->focus->description = strip_tags(html_entity_decode($this->dv->focus->description));
3 Likes