Use ' instead of ' as the latter isnt in the HTML4 standard
This commit is contained in:
@@ -5,7 +5,7 @@ extension String {
|
|||||||
">": ">",
|
">": ">",
|
||||||
"&": "&",
|
"&": "&",
|
||||||
"\"": """,
|
"\"": """,
|
||||||
"'": "'",
|
"'": "'",
|
||||||
]
|
]
|
||||||
/// HTML escape string. Replace '<', '>' and '&' with HTML escaped versions
|
/// HTML escape string. Replace '<', '>' and '&' with HTML escaped versions
|
||||||
func htmlEscape() -> String {
|
func htmlEscape() -> String {
|
||||||
|
|||||||
Reference in New Issue
Block a user