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

Issue 4186055: code review 4186055: html: tokenize HTML comments. (Closed)

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

Description

html: tokenize HTML comments. I'm not sure if it's 100% correct wrt the HTML5 specification, but the test suite has plenty of HTML comment test cases, and we'll shake out any tokenization bugs as the parser improves its coverage.

Patch Set 1 #

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

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

Total comments: 12

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -54 lines) Patch
M src/pkg/html/doc.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/pkg/html/token.go View 1 2 3 10 chunks +93 lines, -24 lines 0 comments Download
M src/pkg/html/token_test.go View 1 2 3 4 chunks +56 lines, -30 lines 0 comments Download

Messages

Total messages: 5
nigeltao
Hello gri (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 1 month ago (2011-02-16 10:59:59 UTC) #1
gri
Some minor comments. (It does parse the spec though ;-) -gri http://codereview.appspot.com/4186055/diff/4001/src/pkg/html/token.go File src/pkg/html/token.go (right): ...
14 years, 1 month ago (2011-02-16 18:56:40 UTC) #2
nigeltao
PTAL. There's been a small behavior change. The text "<!-xEOF" now tokenizes as one text ...
14 years ago (2011-02-16 22:18:46 UTC) #3
gri
LGTM
14 years ago (2011-02-16 23:24:20 UTC) #4
nigeltao
14 years ago (2011-02-16 23:45:42 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=40f3009e211f ***

html: tokenize HTML comments.

I'm not sure if it's 100% correct wrt the HTML5 specification,
but the test suite has plenty of HTML comment test cases, and
we'll shake out any tokenization bugs as the parser improves its
coverage.

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

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