@@ -14,6 +14,7 @@ import Stackage.BuildConstraints
1414import Stackage.BuildPlan
1515import Stackage.PackageDescription
1616import Stackage.Prelude
17+import qualified Data.Text as T
1718
1819-- FIXME check cycles in dependencies, only looking at libraries and
1920-- executables
@@ -97,7 +98,9 @@ instance Show BadBuildPlan where
9798 [ "- "
9899 , pkgUserShow1 pu
99100 , " ("
100− , display range
101+ -- add a space after < to avoid confusing Markdown processors (like
102+ -- Github's issue tracker)
103+ , T.replace "<" "< " $ display range
101104 , "). "
102105 , pkgUserShow2 pu
103106 ]