public function setContent(&$obj, $val, $record)
    {
        $val = trim($val);
        if ($val) {
            $paragraphs = explode("\n", $val);
            $obj->Content = '<p>' . implode('</p><p>', $paragraphs) . '</p>';
        }
    }