Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
8b2d2847
Commit
8b2d2847
authored
Oct 28, 2009
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
html-escaping of fields that may be user-generated
R=rsc
http://go/go-review/1013019
parent
5a02eb65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lib/godoc/godoc.html
lib/godoc/godoc.html
+5
-4
No files found.
lib/godoc/godoc.html
View file @
8b2d2847
...
...
@@ -4,7 +4,7 @@
<head>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=utf-8"
>
<title>
{Title}
</title>
<title>
{Title
|html
}
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/doc/style.css"
>
<script
type=
"text/javascript"
src=
"/doc/godocs.js"
></script>
...
...
@@ -49,22 +49,23 @@
<li
class=
"blank"
>
</li>
<li
class=
"navhead"
>
Go code search
</li>
<form
method=
"GET"
action=
"/search"
class=
"search"
>
<input
name=
"q"
value=
"{Query}"
size=
"25"
/>
<input
name=
"q"
value=
"{Query
|html
}"
size=
"25"
/>
<input
type=
"submit"
value=
"Go"
/>
<li
class=
"blank"
>
</li>
<li
class=
"navhead"
>
Last update
</li>
<li>
{Timestamp}
</li>
<li>
{Timestamp
|html
}
</li>
</ul>
</div>
<div
id=
"content"
>
<h1>
{Title}
</h1>
<h1>
{Title
|html
}
</h1>
<!-- The Table of Contents is automatically inserted in this <div>.
Do not delete this <div>. -->
<div
id=
"nav"
></div>
<!-- Content is HTML-escaped elsewhere -->
{Content}
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment