I really need to do something about tabs

This commit is contained in:
Will Boyd
2024-02-26 12:41:35 -05:00
parent a8929901e3
commit 8477487047
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
// get excerpt, not decoded, newlines collapsed
module.exports = (post) => {
const excerpt = post.data.encoded[1].replace(/[\r\n]+/gm, ' ');
return excerpt;
const excerpt = post.data.encoded[1].replace(/[\r\n]+/gm, ' ');
return excerpt;
};