1
1
mirror of https://github.com/github/semantic.git synced 2024-12-19 12:51:52 +03:00

Add a head with a link to CSS.

This commit is contained in:
Rob Rix 2015-12-07 12:03:56 -05:00
parent eb9c64d57c
commit 8885f039c4

View File

@ -49,6 +49,7 @@ instance Show HTML where
split :: Diff a Info -> String -> String -> IO ByteString
split diff before after = return . pack
. tag "html"
. (tag "head" "<link rel='stylesheet' href='style.css'>" ++)
. tag "body"
. tag "table"
. concat $ show <$> (fst $ diffToRows diff (0, 0) before after)