From: adam Date: Thu, 10 Apr 2008 16:35:50 +0000 (-0700) Subject: add support for simple comments X-Git-Url: http://git.megacz.com/?p=wix.git;a=commitdiff_plain;h=173630fcedd7f473b0b7d28592b53288c1eff418 add support for simple comments darcs-hash:20080410163550-5007d-7605701b2b924796387e0f0c67a484b326764c94.gz --- diff --git a/src/Html.lhs b/src/Html.lhs index a6cfeea..632dcfe 100644 --- a/src/Html.lhs +++ b/src/Html.lhs @@ -195,6 +195,7 @@ instance ToHtml Text where toHtml (Quotes x) = "“"++(toHtml x)++"”" toHtml (Verbatim x) = pre x toHtml (Link t ref) = link (show ref) (toHtml t) + toHtml (Command "comment" y) = "" toHtml (Command "url" y) = ""++(link (toHtml y) (toHtml y))++"" toHtml (Command "WiX" y) = "WIX" toHtml (Command "TeX" y) = "TEX"