Fix multiline comments

pull/1/head
yflory 5 years ago
parent 0d78ae86dc
commit abf083252c

@ -192,6 +192,7 @@ define([
if (!curve || !notif) { return; }
notify[curve] = notif;
});
$clone.find('br').replaceWith("\n");
$clone.find('> *:not(.cp-mentions)').remove();
var content = clone.innerHTML.trim();
if (!content) { return; }

Loading…
Cancel
Save