/
/
opt
/
golang
/
1.19.4
/
src
/
html
Server: in-mum-web1112.main-hosting.eu (62.72.28.111)
You: 216.73.216.137
PHP 8.3.16
Dir:
/opt/golang/1.19.4/src/html
Edit:
/opt/golang/1.19.4/src/html/example_test.go
// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package html_test import ( "fmt" "html" ) func ExampleEscapeString() { const s = `"Fran & Freddie's Diner" <tasty@example.com>` fmt.Println(html.EscapeString(s)) // Output: "Fran & Freddie's Diner" <tasty@example.com> } func ExampleUnescapeString() { const s = `"Fran & Freddie's Diner" <tasty@example.com>` fmt.Println(html.UnescapeString(s)) // Output: "Fran & Freddie's Diner" <tasty@example.com> }
Ukuran: 619 B