diff --git a/src/worker.js b/src/worker.js index f7959ba..8dfd998 100644 --- a/src/worker.js +++ b/src/worker.js @@ -84,7 +84,7 @@ async function handleLol(body, env) { } // create a "title" for the status - const title = status.emoji + ' ' + status.content.match(/((\s*\S+){10})([\s\S]*)/)[1] + '...' + const title = status.emoji + ' ' + status.content.match(/((\s*\S+){10})([\s\S]*)/)[1].replaceAll('\n', ' ') + '...' // this is the frontmatter data we're adding to the markdown file let frontmatter = {