From 117cfc10c6d4a0a9346a29353860d1185d1ea224 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 30 Sep 2022 18:17:54 +0200 Subject: Add support for turning hast into swc --- src/to_mdast.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') 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); } -- cgit