diff options
| author | cui fliter <imcusg@gmail.com> | 2023-04-23 18:44:05 +0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-25 01:14:08 +0000 |
| commit | 22d94dfdc8ab866ff6097b6b92a2860233873c95 (patch) | |
| tree | d1577d791e14d6770e3e6e0bb0ef33041b5ce8d9 /src/html | |
| parent | f00e947cdf5cdac794d571c87a81ea8878a6fe4f (diff) | |
| download | go-22d94dfdc8ab866ff6097b6b92a2860233873c95.tar.xz | |
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 <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Andrew Polukhin <andrewmathematics2003@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/html')
| -rw-r--r-- | src/html/template/escape.go | 2 | ||||
| -rw-r--r-- | src/html/template/transition.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/html/template/escape.go b/src/html/template/escape.go index c20e6b0c34..4ba1d6b318 100644 --- a/src/html/template/escape.go +++ b/src/html/template/escape.go @@ -758,7 +758,7 @@ func (e *escaper) escapeText(c context, n *parse.TextNode) context { } else if isComment(c.state) && c.delim == delimNone { switch c.state { case stateJSBlockCmt: - // https://es5.github.com/#x7.4: + // https://es5.github.io/#x7.4: // "Comments behave like white space and are // discarded except that, if a MultiLineComment // contains a line terminator character, then diff --git a/src/html/template/transition.go b/src/html/template/transition.go index 92eb351906..3b9fbfb68f 100644 --- a/src/html/template/transition.go +++ b/src/html/template/transition.go @@ -397,7 +397,7 @@ func tLineCmt(c context, s []byte) (context, int) { return c, len(s) } c.state = endState - // Per section 7.4 of EcmaScript 5 : https://es5.github.com/#x7.4 + // Per section 7.4 of EcmaScript 5 : https://es5.github.io/#x7.4 // "However, the LineTerminator at the end of the line is not // considered to be part of the single-line comment; it is // recognized separately by the lexical grammar and becomes part |
