(refs #1591)Bump markedj to 1.0.11 to allow HTML in markdown

This commit is contained in:
Naoki Takezoe
2017-05-13 20:54:20 +09:00
parent 19016aa14a
commit 532f418c2f
2 changed files with 1 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ libraryDependencies ++= Seq(
"io.github.gitbucket" %% "scalatra-forms" % "1.1.0", "io.github.gitbucket" %% "scalatra-forms" % "1.1.0",
"commons-io" % "commons-io" % "2.5", "commons-io" % "commons-io" % "2.5",
"io.github.gitbucket" % "solidbase" % "1.0.2", "io.github.gitbucket" % "solidbase" % "1.0.2",
"io.github.gitbucket" % "markedj" % "1.0.10", "io.github.gitbucket" % "markedj" % "1.0.11",
"org.apache.commons" % "commons-compress" % "1.13", "org.apache.commons" % "commons-compress" % "1.13",
"org.apache.commons" % "commons-email" % "1.4", "org.apache.commons" % "commons-email" % "1.4",
"org.apache.httpcomponents" % "httpclient" % "4.5.3", "org.apache.httpcomponents" % "httpclient" % "4.5.3",

View File

@@ -38,7 +38,6 @@ object Markdown {
val source = if(enableTaskList) escapeTaskList(markdown) else markdown val source = if(enableTaskList) escapeTaskList(markdown) else markdown
val options = new Options() val options = new Options()
options.setSanitize(true)
options.setBreaks(enableLineBreaks) options.setBreaks(enableLineBreaks)
val renderer = new GitBucketMarkedRenderer(options, repository, val renderer = new GitBucketMarkedRenderer(options, repository,