mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix formating
This commit is contained in:
parent
f2f7de7385
commit
b7970f6386
@ -15,6 +15,8 @@ fn main() {
|
||||
```
|
||||
*/
|
||||
pub fn unescape(input string) string {
|
||||
mut escape_to_text := ['&', '&', '<', '<', '>', '>', ''', "'", '"', '"', '&', '&', '<', '<', '>', '>', ''', "'", '"', '"', '&', '&', '<', '<', '>', '>', ''', "'", '"', '"']
|
||||
mut escape_to_text := ['&', '&', '<', '<', '>', '>', ''', "'", '"', '"',
|
||||
'&', '&', '<', '<', '>', '>', ''', "'", '"', '"', '&', '&', '<',
|
||||
'<', '>', '>', ''', "'", '"', '"']
|
||||
return input.replace_each(escape_to_text)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user