]> Cypherpunks repositories - gostls13.git/commit
exp/template/html: defines a parse context for a subset of HTML.
authorMike Samuel <mikesamuel@gmail.com>
Thu, 18 Aug 2011 00:40:29 +0000 (10:40 +1000)
committerRob Pike <r@golang.org>
Thu, 18 Aug 2011 00:40:29 +0000 (10:40 +1000)
commite4a89d7ccaa4e5d3ccd6552cc2d8e108fe0bcd9a
tree875cd5bfea733d63ac47be6d36fe0475f0577906
parentb67b72da4337a16088c1780245a9fa1c45b4bca4
exp/template/html: defines a parse context for a subset of HTML.

This defines just enough context to distinguish HTML URI attributes
from parsed character data.

It does not affect any public module API as I thought I would get
early comment on style for defining enumerations and tables.

R=rsc, r, nigeltao, r
CC=golang-dev
https://golang.org/cl/4906043
src/pkg/exp/template/html/context.go [new file with mode: 0644]