Commit 307a8080 authored by Johan Cwiklinski's avatar Johan Cwiklinski

Fix KB revision display; closes #3860

parent 97253d5a
......@@ -50,7 +50,7 @@ $revision = new KnowbaseItem_Revision();
$revision->getFromDB($revid);
$rev = [
'name' => $revision->fields['name'],
'answer' => Toolbox::unclean_html_cross_side_scripting_deep($revision->fields['answer'])
'answer' => Html::entity_decode($revision->fields['answer'])
];
echo json_encode($rev);
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