Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/goPublic

Commit717f1d6

Browse files
committed
[release-branch.go1] html/template: fix URL doc
««« backport fead9e11a489html/template: fix URL docThis is the easy part of issue 3528.(What to do about "noescape" is the hard part, left open.)Update#3528.R=mikesamuel, r, dsymondsCC=golang-devhttps://golang.org/cl/6493113»»»
1 parented4d4cb commit717f1d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/pkg/html/template/content.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type (
4747
// JSStr("foo\\nbar") is fine, but JSStr("foo\\\nbar") is not.
4848
JSStrstring
4949

50-
// URL encapsulates a known safe URLas defined inRFC3896.
50+
// URL encapsulates a known safe URLor URL substring (seeRFC3986).
5151
// A URL like `#"diff-86a6bf63a1e255f19bd40576981166a098afe9a16adaa7d6496dd0d66a9ef276-52-52-0" data-selected="false" role="gridcell" tabindex="-1" valign="top">52
52
// from a trusted source should go in the page, but by default dynamic
5353
// `#"diff-86a6bf63a1e255f19bd40576981166a098afe9a16adaa7d6496dd0d66a9ef276-empty-empty-0" data-selected="false" role="gridcell" tabindex="-1" valign="top" colSpan="4">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp