prevent insertion, closes #112
This commit is contained in:
parent
57d4380106
commit
7008e88314
@ -57,7 +57,8 @@ define(["app/i18n"], function(i18n) {
|
||||
var _ = document.createElement("div");
|
||||
_.innerHTML = html.replace(/<div><br><\/div>/gi, '<br>')
|
||||
.replace(/<div>/gi,'<br>')
|
||||
.replace(/<br>/gi, '\n');
|
||||
.replace(/<br>/gi, '\n')
|
||||
.replace(/ /gi, ' ');
|
||||
return _.textContent.trim();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user