Remove logging in app.post.prepare4html

This commit is contained in:
Niko 2022-02-17 22:35:00 +01:00
parent d34b4f0ae9
commit a59debaa2d
1 changed files with 0 additions and 4 deletions

View File

@ -113,7 +113,6 @@ app.storage = {
app.post = {
prepare4html: function(value, tags) {
tags = tags || [];
console.log(value);
value = value.replaceAll('</a>', '</a> ')
.replaceAll(/\s+/g, ' ');
value = value.replaceAll('</p>', '{:br:}{:br:}');
@ -168,9 +167,6 @@ app.post = {
}
value = value.replaceAll('{:br:}', '<br>');
value = value.trim().replaceAll(/<br><br>$/g, '');
console.log(value);
console.log(tags);
console.log('----');
return value;
},
}