Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7988)

Issue 5447064: code review 5447064: html: allow whitespace between head and body

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 5 months ago by andybalholm
Modified:
12 years, 5 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-dev
Visibility:
Public.

Description

html: allow whitespace between head and body Also ignore <head> tag after </head>. Pass tests6.dat, test 0: <!doctype html></head> <head> | <!DOCTYPE html> | <html> | <head> | " " | <body> Also pass tests through test 6: <body> <div>

Patch Set 1 #

Patch Set 2 : diff -r 2d7711ae6419 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 2d7711ae6419 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -2 lines) Patch
M src/pkg/html/parse.go View 1 2 chunks +15 lines, -2 lines 0 comments Download
M src/pkg/html/parse_test.go View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3
andybalholm
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 5 months ago (2011-12-01 16:14:35 UTC) #1
nigeltao
LGTM.
12 years, 5 months ago (2011-12-02 00:46:12 UTC) #2
nigeltao
12 years, 5 months ago (2011-12-02 00:46:33 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=8ee8709a9fff ***

html: allow whitespace between head and body

Also ignore <head> tag after </head>.

Pass tests6.dat, test 0:
<!doctype html></head> <head>

| <!DOCTYPE html>
| <html>
|   <head>
|   " "
|   <body>

Also pass tests through test 6:
<body>
<div>

R=nigeltao
CC=golang-dev
http://codereview.appspot.com/5447064

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b