Skip to content

Commit 22d94df

Browse files
cuishuanggopherbot
authored andcommitted
html/template: fix unavailable url
The previous link is no longer accessible. use latest link. Change-Id: I76411ee00785f3d92014c5012e4efb446924adaf Reviewed-on: https://go-review.googlesource.com/c/go/+/487835 Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Andrew Polukhin <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Ian Lance Taylor <[email protected]> Run-TryBot: shuang cui <[email protected]> Auto-Submit: Ian Lance Taylor <[email protected]>
1 parent f00e947 commit 22d94df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/html/template/escape.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ func (e *escaper) escapeText(c context, n *parse.TextNode) context {
758758
} else if isComment(c.state) && c.delim == delimNone {
759759
switch c.state {
760760
case stateJSBlockCmt:
761-
// https://es5.github.com/#x7.4:
761+
// https://es5.github.io/#x7.4:
762762
// "Comments behave like white space and are
763763
// discarded except that, if a MultiLineComment
764764
// contains a line terminator character, then

src/html/template/transition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ func tLineCmt(c context, s []byte) (context, int) {
397397
return c, len(s)
398398
}
399399
c.state = endState
400-
// Per section 7.4 of EcmaScript 5 : https://es5.github.com/#x7.4
400+
// Per section 7.4 of EcmaScript 5 : https://es5.github.io/#x7.4
401401
// "However, the LineTerminator at the end of the line is not
402402
// considered to be part of the single-line comment; it is
403403
// recognized separately by the lexical grammar and becomes part

0 commit comments

Comments
 (0)