4 discardText
:: [Inline
] -> [Inline
]
5 discardText
(Space
: xs
) = discardText xs
6 discardText
((Str _
) : xs
) = discardText xs
7 discardText
(x
: xs
) = x
: discardText xs
10 readDoc
= readHtml defaultParserState
{
14 --writeDoc = writeNative defaultWriterOptions
15 writeDoc
= prettyPandoc
17 main
= interact (writeDoc
. processWith discardText
. readDoc
)