From 363650b5c943982dfccd0931ad2341aa44ab83f2 Mon Sep 17 00:00:00 2001 From: Ignatius Bagus Date: Wed, 13 Mar 2024 17:13:16 +0700 Subject: [PATCH] fix --- workspace/aubade/src/core/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace/aubade/src/core/index.js b/workspace/aubade/src/core/index.js index 9ee2861..ec61cde 100644 --- a/workspace/aubade/src/core/index.js +++ b/workspace/aubade/src/core/index.js @@ -29,7 +29,7 @@ export function parse(source) { get table() { /** @type {import('../types.js').AubadeTable[]} */ const table = []; - for (const line of stuffed.split('\n')) { + for (const line of stuffed.replace(//g, '').split('\n')) { const match = line.trim().match(/^(#{2,4}) (.+)/); if (!match) continue;