diff --git a/bower.json b/bower.json index d8eeffa..f2832f1 100644 --- a/bower.json +++ b/bower.json @@ -29,8 +29,8 @@ "purescript-ordered-collections": "^1.0.0", "purescript-parsing": "^5.0.1", "purescript-partial": "^2.0.0", - "purescript-precise": "^3.0.1", - "purescript-prelude": "^4.0.1", + "purescript-precise": "https://github.com/poorscript/purescript-precise.git", + "purescript-prelude": "^4.1.1", "purescript-strings": "^4.0.0", "purescript-unicode": "^4.0.1", "purescript-validation": "^4.0.0" diff --git a/package.json b/package.json index 83a2be5..782204b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ }, "devDependencies": { "pulp": "^12.3.0", - "purescript": "^0.12.0", + "purescript": "^0.13.5", "purescript-psa": "^0.6.0", "rimraf": "^2.5.4" } diff --git a/src/Text/Markdown/SlamDown/Pretty.purs b/src/Text/Markdown/SlamDown/Pretty.purs index 07d7ed5..39ef91a 100644 --- a/src/Text/Markdown/SlamDown/Pretty.purs +++ b/src/Text/Markdown/SlamDown/Pretty.purs @@ -103,7 +103,7 @@ prettyPrintInline il = star = if r then "*" else" " in esc l <> star <> " = " <> prettyPrintFormElement e - where + where esc s = M.maybe s (const $ "[" <> s <> "]") $ S.indexOf (S.Pattern " ") s