html: parse doctype tokens; merge adjacent text nodes.
The test case input is "<!DOCTYPE html><span><button>foo</span>bar". The correct parse is: | <!DOCTYPE html> | <html> | <head> | <body> | <span> | <button> | "foobar" R=gri CC=golang-dev https://golang.org/cl/4794063
Showing
This diff is collapsed.
Please register or sign in to comment