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

Issue 5293051: code review 5293051: html: parse <select> tags. (Closed)

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

Description

html: parse <select> tags. The additional test case in parse_test.go is: <select><b><option><select><option></b></select>X

Patch Set 1 #

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

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

Total comments: 2

Patch Set 4 : diff -r e2a58806ccd6 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r f1a2043b33cd https://go.googlecode.com/hg/ #

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

Messages

Total messages: 5
nigeltao
Hello andybalholm@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
15 years ago (2011-10-20 03:52:07 UTC) #1
andybalholm
It looks good except for how the inverted stop tags are handled. http://codereview.appspot.com/5293051/diff/4001/src/pkg/html/parse.go File src/pkg/html/parse.go ...
15 years ago (2011-10-20 15:32:02 UTC) #2
nigeltao
PTAL. http://codereview.appspot.com/5293051/diff/4001/src/pkg/html/parse.go File src/pkg/html/parse.go (right): http://codereview.appspot.com/5293051/diff/4001/src/pkg/html/parse.go#newcode53 src/pkg/html/parse.go:53: const invertStopTags = "\xff" On 2011/10/20 15:32:02, andybalholm ...
15 years ago (2011-10-21 00:54:56 UTC) #3
andybalholm
LGTM.
15 years ago (2011-10-21 21:39:35 UTC) #4
nigeltao
15 years ago (2011-10-22 09:18:20 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=60d08510dc91 ***

html: parse <select> tags.

The additional test case in parse_test.go is:
<select><b><option><select><option></b></select>X

R=andybalholm
CC=golang-dev
http://codereview.appspot.com/5293051
Sign in to reply to this message.

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