X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=src%2FHtml.lhs;h=a3ff54f19c3f0780bf5debf114110aa991bc5a5e;hb=cb848b5425d038494bffb361e7f99e4996599723;hp=7a61bd4e64d71c6500990b425d792b3a1d6cfbf1;hpb=d6cca41c056cb20446676e4229ecedabb60688f9;p=wix.git
diff --git a/src/Html.lhs b/src/Html.lhs
index 7a61bd4..a3ff54f 100644
--- a/src/Html.lhs
+++ b/src/Html.lhs
@@ -183,8 +183,9 @@ instance ToHtml Paragraph where
toHtml (P t) = stag "p" $ toHtml t
-link ref body = ""++icon++body++""
+link ref body = ""++icon++body++""
where
+ urlify = toHtml
icon = if ".pdf" `isSuffixOf` ref then " "
else if "mailto:" `isPrefixOf` ref then "
"
else ""
@@ -313,7 +314,7 @@ htmlEscapeChar '\'' = "'"
htmlEscapeChar '\"' = """
htmlEscapeChar c = [c]
-pre x = "\n