File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ def _process_markdown_code_blocks(
270270 code_block ["last_line" ],
271271 )
272272
273- if syntax_check and "novalidate" not in code_block [ " flags" ] :
273+ if syntax_check and "novalidate" not in flags :
274274 try :
275275 fn_check_syntax (
276276 origin_path ,
@@ -286,10 +286,10 @@ def _process_markdown_code_blocks(
286286 os .remove (snippet_path )
287287 raise e
288288
289- if output_check and "noexecute" not in code_block [ " flags" ] :
289+ if output_check and "noexecute" not in flags :
290290 fn_check_output ()
291291
292- if autoformat and "noautoformat" not in code_block [ " flags" ] :
292+ if autoformat and "noautoformat" not in flags :
293293 fn_autoformat (
294294 origin_path ,
295295 snippet_path ,
@@ -298,7 +298,7 @@ def _process_markdown_code_blocks(
298298 code_block ["last_line" ],
299299 )
300300
301- if replace and "noreplace" not in code_block [ " flags" ] :
301+ if replace and "noreplace" not in flags :
302302 offset = fn_replace (
303303 origin_path ,
304304 snippet_path ,
You can’t perform that action at this time.
0 commit comments