mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 05:38:06 +00:00
fix: fix regexp causing strikethrough mess up the parser
This commit is contained in:
parent
c6cc27a1f9
commit
6361c1e520
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { ShifterNodeConfigs } from "src/editor-mode/parser/configs"
|
||||
|
||||
export const SEMANTIC_INTERFERER_RE = /(?:codeblock|html|math)-(?:begin|end)|comment-(?:start|end)|cdata|tag$/;
|
||||
export const SKIPPED_NODE_RE = /table|code|formatting|escape|html|math|tag|url|barelink|atom|comment|string|meta|frontmatter|hr/;
|
||||
export const SKIPPED_NODE_RE = /table|code|formatting|escape|html|math|tag|url|barelink|atom|comment|string|meta|frontmatter|hr(?!\w)/;
|
||||
export const COLOR_TAG_RE = /\{[a-z0-9-]+\}/iy;
|
||||
export const SHIFTER_RE = (() => {
|
||||
let queries = "";
|
||||
|
|
|
|||
Loading…
Reference in a new issue