diff --git a/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs b/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs index 8a5a2f7d..e4a8273d 100644 --- a/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs +++ b/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs @@ -33,12 +33,7 @@ let translateCode (node: HtmlNode) = "" let rec translate (node: HtmlNode) = match node with - | n when - n.HasName "h1" - || n.HasName "h2" - || n.HasName "h3" - || n.HasName "h4" - -> + | n when n.HasName "h1" || n.HasName "h2" || n.HasName "h3" || n.HasName "h4" -> translateHeader n | n when n.HasName "p" -> "Paragraph" | n when n.HasName "table" -> "Table"