Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb committed Mar 13, 2024
1 parent 05f4df1 commit 363650b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workspace/aubade/src/core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(/<!--[\s\S]+?-->/g, '').split('\n')) {
const match = line.trim().match(/^(#{2,4}) (.+)/);
if (!match) continue;

Expand Down

0 comments on commit 363650b

Please sign in to comment.