diff --git a/module/action/model.php b/module/action/model.php index 45ca10c780..9ae18ab770 100644 --- a/module/action/model.php +++ b/module/action/model.php @@ -38,7 +38,7 @@ class actionModel extends model $action->actor = $this->app->user->account; $action->action = strtolower($actionType); $action->date = helper::now(); - $action->comment = htmlspecialchars($comment); + $action->comment = $comment; $action->extra = $extra; /* Get product and project for this object. */ diff --git a/module/bug/config.php b/module/bug/config.php index bfe09aa2c4..a17eeb0748 100644 --- a/module/bug/config.php +++ b/module/bug/config.php @@ -117,4 +117,5 @@ $config->bug->list->exportFields = 'id, product, module, project, story, task, $config->bug->editor = new stdclass(); $config->bug->editor->create = array('id' => 'steps', 'tools' => 'bugTools'); -$config->bug->editor->edit = array('id' => 'steps', 'tools' => 'bugTools'); +$config->bug->editor->edit = array('id' => 'steps,comment', 'tools' => 'bugTools'); +$config->bug->editor->view = array('id' => 'comment', 'tools' => 'bugTools'); diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php index 976953d491..12608a0f2b 100644 --- a/module/bug/view/view.html.php +++ b/module/bug/view/view.html.php @@ -11,6 +11,7 @@ */ ?> +