mirror of
https://github.com/github/semantic.git
synced 2025-01-03 21:16:12 +03:00
Use an operator section to avoid some awkwardness.
This commit is contained in:
parent
09fb6238c4
commit
3d17c9a8f0
@ -58,7 +58,7 @@ split diff before after = return . renderHtml
|
||||
. ((head $ link ! A.rel (stringValue "stylesheet") ! A.href (stringValue "style.css")) <>)
|
||||
. body
|
||||
. (table ! A.class_ (stringValue "diff")) $
|
||||
((<>) (colgroup $ (col ! A.width (stringValue . show $ columnWidth)) <> col <> (col ! A.width (stringValue . show $ columnWidth)) <> col))
|
||||
((colgroup $ (col ! A.width (stringValue . show $ columnWidth)) <> col <> (col ! A.width (stringValue . show $ columnWidth)) <> col) <>)
|
||||
. mconcat $ toMarkup <$> reverse numbered
|
||||
where
|
||||
rows = fst $ diffToRows diff (0, 0) before after
|
||||
|
Loading…
Reference in New Issue
Block a user