mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-02-09 04:47:29 +01:00
Fix a Markdown display issue
This commit is contained in:
parent
f30f0dc373
commit
35d4edfaa8
@ -14,6 +14,7 @@ import Stackage.BuildConstraints
|
|||||||
import Stackage.BuildPlan
|
import Stackage.BuildPlan
|
||||||
import Stackage.PackageDescription
|
import Stackage.PackageDescription
|
||||||
import Stackage.Prelude
|
import Stackage.Prelude
|
||||||
|
import qualified Data.Text as T
|
||||||
|
|
||||||
-- FIXME check cycles in dependencies, only looking at libraries and
|
-- FIXME check cycles in dependencies, only looking at libraries and
|
||||||
-- executables
|
-- executables
|
||||||
@ -97,7 +98,9 @@ instance Show BadBuildPlan where
|
|||||||
[ "- "
|
[ "- "
|
||||||
, pkgUserShow1 pu
|
, pkgUserShow1 pu
|
||||||
, " ("
|
, " ("
|
||||||
, display range
|
-- add a space after < to avoid confusing Markdown processors (like
|
||||||
|
-- Github's issue tracker)
|
||||||
|
, T.replace "<" "< " $ display range
|
||||||
, "). "
|
, "). "
|
||||||
, pkgUserShow2 pu
|
, pkgUserShow2 pu
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user