Use ' instead of ' as the latter isnt in the HTML4 standard

This commit is contained in:
Adam Fowler
2021-03-15 17:28:22 +00:00
parent d601a29e35
commit e0d7e364e8

View File

@@ -5,7 +5,7 @@ extension String {
">": ">",
"&": "&",
"\"": """,
"'": "'",
"'": "'",
]
/// HTML escape string. Replace '<', '>' and '&' with HTML escaped versions
func htmlEscape() -> String {