mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-07 14:05:52 +01:00
Bugfix
This commit is contained in:
@@ -20,7 +20,7 @@ object StringUtil {
|
|||||||
|
|
||||||
def urlDecode(value: String): String = URLDecoder.decode(value, "UTF-8")
|
def urlDecode(value: String): String = URLDecoder.decode(value, "UTF-8")
|
||||||
|
|
||||||
def splitWords(value: String): Array[String] = value.split("[ \\t ]+]")
|
def splitWords(value: String): Array[String] = value.split("[ \\t ]+")
|
||||||
|
|
||||||
def escapeHtml(value: String): String =
|
def escapeHtml(value: String): String =
|
||||||
value.replace("&", "&").replace("<", "<").replace(">", ">").replace("\"", """)
|
value.replace("&", "&").replace("<", "<").replace(">", ">").replace("\"", """)
|
||||||
|
|||||||
Reference in New Issue
Block a user