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