FAQ
Any particular reason to do this?


From encoding/xml/xml.go:

1617 // HTMLAutoClose is the set of HTML elements that 1618 // should be considered to close automatically. 1619 var HTMLAutoClose = htmlAutoClose 1620 1621 var htmlAutoClose = []string{ 1622 /* 1623 hget http://www.w3.org/TR/html4/loose.dtd | 1624 9 sed -n 's/<!ELEMENT (.*) - O EMPTY.+/ "\1",/p' | tr A-Z a-z 1625 */ 1626 "basefont", 1627 "br", 1628 "area", 1629 "link", 1630 "img", 1631 "param", 1632 "hr", 1633 "input", 1634 "col ", 1635 "frame", 1636 "isindex", 1637 "base", 1638 "meta", 1639 } 1640

Search Discussions

  • David Symonds at Sep 6, 2012 at 11:26 pm
    The autogenerated docs include the full value of global vars. Doing
    this shuffle means that you effectively hide the value.


    Dave.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-nuts @
categoriesgo
postedSep 6, '12 at 11:24p
activeSep 6, '12 at 11:26p
posts2
users2
websitegolang.org

2 users in discussion

David Symonds: 1 post Hannson: 1 post

People

Translate

site design / logo © 2021 Grokbase