Remove logging in app.post.prepare4html
This commit is contained in:
parent
d34b4f0ae9
commit
a59debaa2d
|
@ -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;
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue