diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-09-30 18:17:54 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-09-30 18:18:58 +0200 |
commit | 117cfc10c6d4a0a9346a29353860d1185d1ea224 (patch) | |
tree | a5ae0b1f36b7955016b83477b3f4dd455669d2af /src | |
parent | 9dd7a2ba67b7c35e9cd5c9105fdf36aec764fa6e (diff) | |
download | markdown-rs-117cfc10c6d4a0a9346a29353860d1185d1ea224.tar.gz markdown-rs-117cfc10c6d4a0a9346a29353860d1185d1ea224.tar.bz2 markdown-rs-117cfc10c6d4a0a9346a29353860d1185d1ea224.zip |
Add support for turning hast into swc
Diffstat (limited to 'src')
-rw-r--r-- | src/to_mdast.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/to_mdast.rs b/src/to_mdast.rs index 42f68a0..c47eb22 100644 --- a/src/to_mdast.rs +++ b/src/to_mdast.rs @@ -1426,17 +1426,10 @@ fn on_exit_mdx_jsx_tag(context: &mut CompileContext) -> Result<(), String> { }; context.tail_push(node); - - // this.enter( - // node, - // token, - // onErrorRightIsTag - // ) } if tag.self_closing || tag.close { context.tail_pop()?; - // this.exit(token, onErrorLeftIsTag) } else { context.jsx_tag_stack.push(tag); } |