]> Cypherpunks repositories - gostls13.git/commit
html: auto-close <dd> and <dt> elements
authorAndrew Balholm <andybalholm@gmail.com>
Sun, 13 Nov 2011 12:27:20 +0000 (23:27 +1100)
committerNigel Tao <nigeltao@golang.org>
Sun, 13 Nov 2011 12:27:20 +0000 (23:27 +1100)
commit06ef97e15d8952d46118427d4e93b490d0366fa8
tree2f1bd197e5d7588cdc66a98371b4120aef358569
parent631a575fd92b711854930f3b03b40a2bf66bbd29
html: auto-close <dd> and <dt> elements

Pass tests2.dat, test 8:
<!DOCTYPE html><dt><div><dd>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <dt>
|       <div>
|     <dd>

Also pass tests through test 9:
<script></x

R=nigeltao
CC=golang-dev
https://golang.org/cl/5373083
src/pkg/html/parse.go
src/pkg/html/parse_test.go