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

Issue 5279044: code review 5279044: html: improve parsing of comments and "bogus comments" (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: improve parsing of comments and "bogus comments"

Patch Set 1 #

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

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

Total comments: 2

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

Total comments: 16

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -34 lines) Patch
M src/pkg/html/token.go View 1 2 3 4 7 chunks +91 lines, -25 lines 0 comments Download
M src/pkg/html/token_test.go View 1 2 3 4 2 chunks +42 lines, -9 lines 0 comments Download

Messages

Total messages: 12
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-14 03:55:33 UTC) #1
andybalholm
This CL was written simultaneously with 5262044 and will require some adjustment in order to ...
13 years, 5 months ago (2011-10-14 03:56:45 UTC) #2
nigeltao
Can you take the "malformed tag #5-8" tests out and revert the change from "z.tt, ...
13 years, 5 months ago (2011-10-14 04:02:28 UTC) #3
nigeltao
http://codereview.appspot.com/5279044/diff/4001/src/pkg/html/token_test.go File src/pkg/html/token_test.go (right): http://codereview.appspot.com/5279044/diff/4001/src/pkg/html/token_test.go#newcode234 src/pkg/html/token_test.go:234: // DOCTYPE tests. I'd move the DOCTYPE and XML ...
13 years, 5 months ago (2011-10-14 04:03:49 UTC) #4
andybalholm
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-10-14 04:26:45 UTC) #5
andybalholm
This revision of the CL applies cleanly after CL 5262044.
13 years, 5 months ago (2011-10-14 04:27:59 UTC) #6
andybalholm
http://codereview.appspot.com/5279044/diff/4001/src/pkg/html/token_test.go File src/pkg/html/token_test.go (right): http://codereview.appspot.com/5279044/diff/4001/src/pkg/html/token_test.go#newcode234 src/pkg/html/token_test.go:234: // DOCTYPE tests. On 2011/10/14 04:03:49, nigeltao wrote: > ...
13 years, 5 months ago (2011-10-14 04:29:41 UTC) #7
nigeltao
http://codereview.appspot.com/5279044/diff/9001/src/pkg/html/token.go File src/pkg/html/token.go (right): http://codereview.appspot.com/5279044/diff/9001/src/pkg/html/token.go#newcode231 src/pkg/html/token.go:231: // z.raw.start + 4 <= z.raw.end. Join this line ...
13 years, 5 months ago (2011-10-14 06:10:34 UTC) #8
andybalholm
Hello nigeltao@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-10-14 15:02:56 UTC) #9
andybalholm
PTAL http://codereview.appspot.com/5279044/diff/9001/src/pkg/html/token.go File src/pkg/html/token.go (right): http://codereview.appspot.com/5279044/diff/9001/src/pkg/html/token.go#newcode231 src/pkg/html/token.go:231: // z.raw.start + 4 <= z.raw.end. On 2011/10/14 ...
13 years, 5 months ago (2011-10-14 15:03:07 UTC) #10
nigeltao
LGTM. There are a couple of little nits to fix, but I'll do them when ...
13 years, 5 months ago (2011-10-15 00:44:34 UTC) #11
nigeltao
13 years, 5 months ago (2011-10-15 01:22:14 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=dd81822c18a9 ***

html: improve parsing of comments and "bogus comments"

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

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