mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-10 07:25:50 +01:00
(refs #917)Fix incorrent HTML escape
This commit is contained in:
@@ -101,7 +101,7 @@ object Markdown {
|
|||||||
|
|
||||||
override def text(text: String): String = {
|
override def text(text: String): String = {
|
||||||
// convert commit id and username to link.
|
// convert commit id and username to link.
|
||||||
val t1 = if(enableRefsLink) convertRefsLinks(text, repository, "issue:") else text
|
val t1 = if(enableRefsLink) convertRefsLinks(text, repository, "issue:", false) else text
|
||||||
|
|
||||||
// convert task list to checkbox.
|
// convert task list to checkbox.
|
||||||
val t2 = if(enableTaskList) convertCheckBox(t1, hasWritePermission) else t1
|
val t2 = if(enableTaskList) convertCheckBox(t1, hasWritePermission) else t1
|
||||||
|
|||||||
Reference in New Issue
Block a user