mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-15 09:55:49 +01:00
(refs #1591)Bump markedj to 1.0.11 to allow HTML in markdown
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user