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

Issue 5321057: code review 5321057: html: parse <style> elements inside <head> element. (Closed)

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

Description

html: parse <style> elements inside <head> element. Also correctly handle EOF inside a <style> element. Pass tests1.dat, test 49: <!DOCTYPE html><style> EOF | <!DOCTYPE html> | <html> | <head> | <style> | " EOF" | <body>

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/pkg/html/parse.go View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/pkg/html/parse_test.go View 1 1 chunk +1 line, -1 line 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/
13 years, 5 months ago (2011-10-26 23:11:17 UTC) #1
nigeltao
LGTM.
13 years, 5 months ago (2011-10-26 23:25:11 UTC) #2
nigeltao
13 years, 5 months ago (2011-10-26 23:26:15 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=8bc07906f12c ***

html: parse <style> elements inside <head> element.

Also correctly handle EOF inside a <style> element.

Pass tests1.dat, test 49:
<!DOCTYPE html><style> EOF

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

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

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