Skip to content

Commit

Permalink
fix:content do not include sign
Browse files Browse the repository at this point in the history
  • Loading branch information
gcclll committed Jul 19, 2022
1 parent e27b7d5 commit 9a8c189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/parse.ts
Expand Up @@ -154,7 +154,7 @@ export const orderListRE = /^(\s*)(?:\d+)(?:\.|\))\s+(\[[-x ]\]\s+)?(.*)$/;
export const extLinkRE = /\[\[([^[\]]+)](\[([^[\]]+)])?\]/g;
export const innerLinkRE = /<<([^<>]+)>>/g;
export const emphasisRE =
/([=~\+_/\$]|[!&%@][!&%@])(?=[^\s])([^\1]+?\S)(?:\1)/g;
/([=~\+_/\$\*]|[!&%@][!&%@])(?=[^\s])([^\1]+?\S)(?:\1)/g;
export const timestampRE = /\<(\d{4}-\d{2}-\d{2}\s+[^>]+)>/gi; // check timestamp re
export const deadlineRE = /^\s*DEADLINE:(.*)/i;

Expand Down Expand Up @@ -598,8 +598,8 @@ function parseTextExtra(
if (current) {
children.push({
...child,
...current,
content: matchText,
...current,
});
}

Expand Down

0 comments on commit 9a8c189

Please sign in to comment.