on master help sign in
Fix HTML injection within markdown (#5265)
7905086Michael Davis
runtime/queries/markdown/injections.scm+4−1
@@ -5,7 +5,10 @@
5 (language) @injection.language)
5 (language) @injection.language)
6 (code_fence_content) @injection.content (#set! injection.include-unnamed-children))
6 (code_fence_content) @injection.content (#set! injection.include-unnamed-children))
7
7
8+((html_block) @injection.content
9+ (#set! injection.language "html")
8−((html_block) @injection.content (#set! injection.language "html") (#set! injection.include-unnamed-children))
10+ (#set! injection.include-unnamed-children)
11+ (#set! injection.combined))
9
12
10((pipe_table_cell) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
13((pipe_table_cell) @injection.content (#set! injection.language "markdown.inline") (#set! injection.include-unnamed-children))
11
14