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

Issue 6488120: code review 6488120: effective_go: use html/template instead of text/template (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by r
Modified:
11 years, 7 months ago
Reviewers:
CC:
golang-dev, adg, rsc
Visibility:
Public.

Description

effective_go: use html/template instead of text/template Should have done this a long time ago. Fixes issue 3811.

Patch Set 1 #

Total comments: 3

Patch Set 2 : diff -r 910a3f16c063 https://code.google.com/p/go #

Patch Set 3 : diff -r 910a3f16c063 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -10 lines) Patch
M doc/effective_go.html View 2 chunks +8 lines, -7 lines 0 comments Download
M doc/progs/eff_qr.go View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 10
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 7 months ago (2012-09-12 19:55:23 UTC) #1
adg
LGTM http://codereview.appspot.com/6488120/diff/1/doc/effective_go.html File doc/effective_go.html (right): http://codereview.appspot.com/6488120/diff/1/doc/effective_go.html#newcode3008 doc/effective_go.html:3008: The two snippets <code>{{html "{{.}}"}}</code> say to show ...
11 years, 7 months ago (2012-09-12 23:56:55 UTC) #2
r
http://codereview.appspot.com/6488120/diff/1/doc/effective_go.html File doc/effective_go.html (right): http://codereview.appspot.com/6488120/diff/1/doc/effective_go.html#newcode3008 doc/effective_go.html:3008: The two snippets <code>{{html "{{.}}"}}</code> say to show the ...
11 years, 7 months ago (2012-09-13 00:04:28 UTC) #3
adg
On 13 September 2012 10:04, <r@golang.org> wrote: > > http://codereview.appspot.com/6488120/diff/1/doc/effective_go.html > File doc/effective_go.html (right): > ...
11 years, 7 months ago (2012-09-13 00:08:43 UTC) #4
r
On Wed, Sep 12, 2012 at 5:08 PM, Andrew Gerrand <adg@golang.org> wrote: > Doesn't godoc ...
11 years, 7 months ago (2012-09-13 00:14:58 UTC) #5
rsc
LGTM The Unicode em dash looks fine to me.
11 years, 7 months ago (2012-09-13 03:06:56 UTC) #6
r
*** Submitted as http://code.google.com/p/go/source/detail?r=e3fce06291ec *** effective_go: use html/template instead of text/template Should have done this ...
11 years, 7 months ago (2012-09-13 20:41:17 UTC) #7
r
adg, regarding em dash: they're already used in that style in the document. given the ...
11 years, 7 months ago (2012-09-13 20:42:21 UTC) #8
rsc
On Thu, Sep 13, 2012 at 4:42 PM, Rob Pike <r@golang.org> wrote: > adg, regarding ...
11 years, 7 months ago (2012-09-13 20:43:58 UTC) #9
adg
11 years, 7 months ago (2012-09-13 22:53:12 UTC) #10
On 14 September 2012 06:43, Russ Cox <rsc@golang.org> wrote:
> On Thu, Sep 13, 2012 at 4:42 PM, Rob Pike <r@golang.org> wrote:
>> adg, regarding em dash: they're already used in that style in the
>> document. given the other non-ASCII characters in the file, it seems
>> reasonable to accept these.
>
> fwiw i believe the confusion is because at least on my mac rietveld's
> fixed-width font makes em dashes look like en dashes. but if you use a
> real font in a real editor all is well.

That's precisely what was happening for me. Looks fine in godoc proper.

Andrew
Sign in to reply to this message.

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