diff options
author | Andrew Balholm <andybalholm@gmail.com> | 2012-08-07 09:35:09 +1000 |
---|---|---|
committer | Andrew Balholm <andybalholm@gmail.com> | 2012-08-07 09:35:09 +1000 |
commit | 125038ed63faaecf5765f1bcff6d51c31f82fd2b (patch) | |
tree | ea71e21552df126128765467ffdfba4589897164 /test/run.go | |
parent | 2f4d80c8bf85f2c7eb6d2ad8bc8018499a436c0a (diff) | |
download | go-125038ed63faaecf5765f1bcff6d51c31f82fd2b.tar.gz |
exp/html: fix foster-parenting when elements are implicitly closed
When an element (like <nobr> or <p>) was implicitly closed by another
start tag, it would keep foster parenting from working because
the check for what was on top of the stack of open elements was
in the wrong place.
Move the check to addChild.
Pass 2 additional tests.
R=nigeltao
CC=golang-dev
http://codereview.appspot.com/6460045
Committer: Nigel Tao <nigeltao@golang.org>
Diffstat (limited to 'test/run.go')
0 files changed, 0 insertions, 0 deletions