you haven't mentioned what kind of editor you are using.
If it's contenteditable, then any line break in text would appear as <br/> in the data.
If it's textbox or textarea, there won't be any HTML characters unless the user types raw HTML i.e., <br/>, <span> deliberately.
In any case you can clean the input before accepting it in data by implementing editor.getData callback.
As an example:
editor: {
type: "textarea",
attr: "rows=3",
getData: function (ui) {
//debugger;
var tmp = document.createElement("DIV");
tmp.innerHTML = ui.$cell.find(".pq-editor-focus").val();
return tmp.textContent || tmp.innerText || "";
}
}