@@ -116,7 +116,7 @@ blockToNodes _ (CodeBlock (_,classes,_) xs) ns = return
116blockToNodes opts (RawBlock fmt xs) ns
116blockToNodes opts (RawBlock fmt xs) ns
117 | fmt == Format "html" && isEnabled Ext_raw_html opts
117 | fmt == Format "html" && isEnabled Ext_raw_html opts
118 = return (node (HTML_BLOCK (T.pack xs)) [] : ns)
118 = return (node (HTML_BLOCK (T.pack xs)) [] : ns)
119− | fmt == Format "latex" || fmt == Format "tex" && isEnabled Ext_raw_tex opts
119+ | (fmt == Format "latex" || fmt == Format "tex") && isEnabled Ext_raw_tex opts
120 = return (node (CUSTOM_BLOCK (T.pack xs) T.empty) [] : ns)
120 = return (node (CUSTOM_BLOCK (T.pack xs) T.empty) [] : ns)
121 | otherwise = return ns
121 | otherwise = return ns
122blockToNodes opts (BlockQuote bs) ns = do
122blockToNodes opts (BlockQuote bs) ns = do