From abffe6327402381ab93e2f68ad75edcb83f2f0f8 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 7 Mar 2022 10:45:03 -0800 Subject: [PATCH] Remove `raw_tex` extension from list of commonmark... extensions, and from the `commonmark_x` defaults. commonmark doesn't parse raw TeX, and it doesn't make sense to write it if we don't parse it. --- src/Text/Pandoc/Extensions.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Text/Pandoc/Extensions.hs b/src/Text/Pandoc/Extensions.hs index a6b6739d4..1cb77bd6d 100644 --- a/src/Text/Pandoc/Extensions.hs +++ b/src/Text/Pandoc/Extensions.hs @@ -377,7 +377,6 @@ getDefaultExtensions "commonmark_x" = extensionsFromList , Ext_emoji , Ext_pipe_tables , Ext_raw_html - , Ext_raw_tex -- only supported in writer (for math) , Ext_smart , Ext_tex_math_dollars , Ext_superscript @@ -513,7 +512,6 @@ getAllExtensions f = universalExtensions <> getAll f , Ext_task_lists , Ext_emoji , Ext_raw_html - , Ext_raw_tex -- only supported in writer (for math) , Ext_implicit_figures , Ext_hard_line_breaks , Ext_smart