Fix html parsing on markdown editor

Closes #4243
This commit is contained in:
Rafael de Camargo
2019-07-23 01:26:03 -03:00
parent 97aa9e47e0
commit 21a3634fd1
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -63,7 +63,7 @@ KB.component('text-editor', function (containerElement, options) {
// Order is important for IE11 (especially for the placeholder)
var textWrapper = KB.dom(containerElement).find('script');
textareaElement.text(textWrapper.innerText);
textareaElement.html(textWrapper.innerHTML);
if (options.placeholder) {
textareaElement.attr('placeholder', options.placeholder);