Commit 5e0b70cb by Awais Committed by Awais Qureshi

Fixing bug for track changes issue.

ECOM-7861
parent 8b863f96
......@@ -46,8 +46,8 @@ function loadRevisionHistory(revisionUrl) {
currentObject = $('.history-field-container').find('.' + key);
if (currentObject.length && value != null) {
currentObjectText = getComparableText(currentObject);
value = decodeEntities(value);
currentObjectText = decodeEntities(currentObjectText);
value = decodeEntities(value.split('<br>').join('<br />').trim());
currentObjectText = decodeEntities(currentObjectText.split('<br>').join('<br />').trim());
showDiffCourseDetails(value, currentObjectText, currentObject.siblings('.show-diff'));
currentObject.hide();
}
......
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