Skip to content

Commit

Permalink
no line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
namin committed Sep 9, 2019
1 parent 167b795 commit cb8d743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/me/grison/scalocco/Scalocco.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Markdown {
// FIXME: customize processor!!
val pc = new Markdown4jProcessor()
//pc.asInstanceOf[{}]
pc.process(s)
pc.process(s).replaceAll("<br */>", "").replace("<br>","<br/>")
}
// *Markdownify* the given text but removes the `<p/>` tags from the result
def mkdNoP = markdown.replaceAll("</?p>", "").trim()
Expand Down

0 comments on commit cb8d743

Please sign in to comment.