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

Issue 5284042: code review 5284042: html: tokenize "<a" as text and "a < b" as one whole (t... (Closed)

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

Description

html: tokenize "a < b" as one whole text token.

Patch Set 1 #

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

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

Total comments: 2

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

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

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

Patch Set 7 : diff -r dd81822c18a9 https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r f2c5fe09f2ce https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -23 lines) Patch
M src/pkg/html/token.go View 1 2 3 4 5 6 3 chunks +35 lines, -12 lines 0 comments Download
M src/pkg/html/token_test.go View 1 2 3 4 5 6 7 4 chunks +93 lines, -11 lines 0 comments Download

Messages

Total messages: 8
nigeltao
Hello andybalholm@gmail.com (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 05:03:12 UTC) #1
andybalholm
It still tokenizes "<a" as "<a>". This doesn't match the change description. Neither one matches ...
13 years, 5 months ago (2011-10-14 15:30:20 UTC) #2
nigeltao
PTAL (Please Take Another Look). I've added tests for "<a", "<a ", and "<a x". ...
13 years, 5 months ago (2011-10-14 22:51:50 UTC) #3
nigeltao
> Also, html5lib doesn't return any token at all for "</>". It is > completely ...
13 years, 5 months ago (2011-10-14 22:53:49 UTC) #4
nigeltao
I've synced past the <!--comment--> tokenization change. PTAL.
13 years, 5 months ago (2011-10-15 01:38:28 UTC) #5
andybalholm
On 2011/10/15 01:38:28, nigeltao wrote: > I've synced past the <!--comment--> tokenization change. PTAL. LGTM
13 years, 5 months ago (2011-10-15 14:50:46 UTC) #6
andybalholm
On 2011/10/15 14:50:46, andybalholm wrote: > LGTM but you probably should update the change description.
13 years, 5 months ago (2011-10-15 15:41:37 UTC) #7
nigeltao
13 years, 5 months ago (2011-10-16 09:50:17 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=f6f99bbc5576 ***

html: tokenize "a < b" as one whole text token.

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

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