mirror of
https://github.com/golang/go
synced 2024-11-20 09:34:52 -07:00
f9489bed72
R=rsc CC=golang-dev https://golang.org/cl/5338043
13 lines
147 B
Go
13 lines
147 B
Go
package main
|
|
|
|
import (
|
|
"io/ioutil"
|
|
"os"
|
|
"text/template"
|
|
)
|
|
|
|
func main() {
|
|
b, _ := ioutil.ReadAll(os.Stdin)
|
|
template.HTMLEscape(os.Stdout, b)
|
|
}
|