@@ -629,7 +629,8 @@ inlineToMuse (Code _ str) = do
629629 then "<code>" <> text (substitute "</code>" "<</code><code>/code>" str) <> "</code>"
630630 else "=" <> text str <> "="
631631inlineToMuse Math{} =
632− Prelude.fail "Math should be expanded before normalization"
632+ throwError $ PandocShouldNeverHappenError
633+ "Math should be expanded before normalization"
633634inlineToMuse (RawInline (Format f) str) = do
634635 modify $ \st -> st { stUseTags = False }
635636 return $ "<literal style=\"" <> text f <> "\">" <> text str <> "</literal>"