4 class RawContainer a
where
5 extractRaw
:: a
-> [String]
7 instance RawContainer Inline
where
8 extractRaw
(HtmlInline s
) = [s
]
11 instance RawContainer Block
where
12 extractRaw
(RawHtml s
) = [s
]
15 readDoc
= readHtml defaultParserState
{
19 main
= interact (unlines . queryWith extractRaw
. readDoc
)