aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Texinfo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc/Writers/Texinfo.hs')
-rw-r--r--src/Text/Pandoc/Writers/Texinfo.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Texinfo.hs b/src/Text/Pandoc/Writers/Texinfo.hs
index ef1ee7d25..c6debd9ce 100644
--- a/src/Text/Pandoc/Writers/Texinfo.hs
+++ b/src/Text/Pandoc/Writers/Texinfo.hs
@@ -392,6 +392,10 @@ inlineToTexinfo (Span _ lst) =
inlineToTexinfo (Emph lst) =
inCmd "emph" <$> inlineListToTexinfo lst
+-- Underline isn't supported, fall back to Emph
+inlineToTexinfo (Underline lst) =
+ inlineToTexinfo (Emph lst)
+
inlineToTexinfo (Strong lst) =
inCmd "strong" <$> inlineListToTexinfo lst