]> Cypherpunks repositories - gostls13.git/commit
html: insert implied <p> and </p> tags
authorAndrew Balholm <andybalholm@gmail.com>
Thu, 13 Oct 2011 01:40:48 +0000 (12:40 +1100)
committerNigel Tao <nigeltao@golang.org>
Thu, 13 Oct 2011 01:40:48 +0000 (12:40 +1100)
commitc64e8e327ec706c4ac9ac767273e08a5175b5ec8
tree082fa68fb7b1c7ec720ad299be965836571db012
parent85368292a3fef14303cffb9f422fd723f44a7cd6
html: insert implied <p> and </p> tags

(test # 25 in tests1.dat)
#data
<p><b><div></p></b></div>X
#document
| <html>
|   <head>
|   <body>
|     <p>
|       <b>
|     <div>
|       <b>
|
|           <p>
|           "X"

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