X-Git-Url: http://git.megacz.com/?p=wix.git;a=blobdiff_plain;f=src%2FHtml.lhs;h=a3ff54f19c3f0780bf5debf114110aa991bc5a5e;hp=96e9e6a2119138f9ba56a5a2b8d00e500622f23a;hb=7123f2f1bd0db15a0d0a4c5d3849eae09a069a8c;hpb=78cfe8113affda63fdb4ea2ef607f0b8e3ee1139
diff --git a/src/Html.lhs b/src/Html.lhs
index 96e9e6a..a3ff54f 100644
--- a/src/Html.lhs
+++ b/src/Html.lhs
@@ -31,7 +31,7 @@ style =
" LI { margin-top: 5px; }\n"++
" body { color: #333333; }\n"++
" blockquote { font-style: italic; width: 100% }\n"++
- " div.warn { border: 1px solid red; background-color: #fbb; color: white; }\n"++
+ " div.warn { border: 1px solid #f44; border-top: 5px solid #f44; background-color: #fbb; color: white; }\n"++
" td.warn { color: black; }\n"++
" div.announce { border: 1px solid green; background-color: #bfb; color: white; }\n"++
" td.announce { color: black; }\n"++
@@ -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 ""
@@ -236,6 +237,8 @@ instance ToHtml Text where
toHtml (Command "green" y) = ""++(toHtml y)++""
toHtml (Command "sc" y) = "