Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html/template: missing Templates method, Escape functions #3296

Closed
mpl opened this issue Mar 12, 2012 · 4 comments
Closed

html/template: missing Templates method, Escape functions #3296

mpl opened this issue Mar 12, 2012 · 4 comments
Milestone

Comments

@mpl
Copy link
Contributor

mpl commented Mar 12, 2012

text/template package has the
func (t *Template) Templates() []*Template
function (which is useful imho).

There does not seem to be any equivalent in the html/template package.
@gopherbot
Copy link

Comment 1 by vladimir.webdev:

It also misses *Escape functions, which are useful if you want to construct some HTML in
GO.

@nigeltao
Copy link
Contributor

Comment 2:

Labels changed: added priority-go1, go1-must, removed priority-triage.

Owner changed to @robpike.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Mar 12, 2012

Comment 3:

This is not a Go1-Must, since these changes can be made backwards-compatibly later.

Labels changed: removed go1-must.

@robpike
Copy link
Contributor

robpike commented Mar 20, 2012

Comment 4:

This issue was closed by revision 49be7f7.

Status changed to Fixed.

@mpl mpl added fixed labels Mar 20, 2012
@rsc rsc added this to the Go1 milestone Apr 10, 2015
@rsc rsc removed the priority-go1 label Apr 10, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc unassigned robpike Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants