mirror of https://github.com/golang/go.git
This addresses several use cases:
(1) <h{{.HeaderLevel}}> used to build hierarchical documents.
(2) <input on{{.EventType}}=...> used in widgets.
(3) <div {{" dir=ltr"}}> used to embed bidi-hints.
It also makes sure that we treat the two templates below the same:
<img src={{if .Avatar}}"{{.Avatar}}"{{else}}"anonymous.png"{{end}}>
<img src="{{if .Avatar}}{{.Avatar}}{{else}}anonymous.png{{end}}">
This splits up tTag into a number of sub-states and adds testcases.
R=nigeltao
CC=golang-dev
https://golang.org/cl/5043042
|
||
|---|---|---|
| .. | ||
| cmd | ||
| lib9 | ||
| libbio | ||
| libmach | ||
| pkg | ||
| Make.ccmd | ||
| Make.clib | ||
| Make.cmd | ||
| Make.common | ||
| Make.inc | ||
| Make.pkg | ||
| all-qemu.bash | ||
| all.bash | ||
| clean.bash | ||
| env.bash | ||
| make.bash | ||
| quietgcc.bash | ||
| run.bash | ||
| sudo.bash | ||
| version.bash | ||