html
最后更新于:2022-04-02 02:43:55
[TOC]
## html.EscapeString
```
const s = `"Fran & Freddie's Diner" `
fmt.Println(html.EscapeString(s)) // "Fran & Freddie's Diner" <tasty@example.com>
```
## html.UnescapeString
```
const s = `"Fran & Freddie's Diner" <tasty@example.com>`
fmt.Println(html.UnescapeString(s))
// "Fran & Freddie's Diner"
```
';