sapling/mercurial/templates/gitweb
Anton Shestakov 03a4817df8 hgweb: stop using HTML comments in <script>
Once upon a time, in 1995, there were browsers that didn't understand <script>
tags and they would simply show the code inside as text. This started a
tradition of wrapping everything inside <script> in <!-- HTML comments -->.
Nowadays, it's not only not needed, but can be considered harmful[1]:

- within XHTML documents, the source will actually be hidden from all browsers
  and rendered useless

- `--` is not allowed within HTML comments, so any decrement operations in
  script are invalid

[1]: http://www.javascripttoolbox.com/bestpractices/#comments
2017-12-15 12:15:58 +08:00
..
bookmarks.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
branches.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
changelog.tmpl hgweb: use separate CSS class for navigation links in footer 2017-06-20 20:53:29 -07:00
changelogentry.tmpl hgweb: move changeset "tags" to a template in map file (gitweb and monoblue) 2017-11-15 19:36:16 +08:00
changeset.tmpl hgweb: move changeset "tags" to a template in map file (gitweb and monoblue) 2017-11-15 19:36:16 +08:00
error.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
fileannotate.tmpl hgweb: add HTML elements to control whitespace settings for annotate 2017-09-30 09:01:36 +01:00
filecomparison.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
filediff.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
filelog.tmpl templates: reword 'back to filelog' link anchor text 2017-11-20 14:30:54 -05:00
filerevision.tmpl gitweb: preserve whitespace in description 2017-07-17 15:54:15 -07:00
footer.tmpl hgweb: call process_dates() via DOM event listener 2017-01-10 20:47:48 -08:00
graph.tmpl hgweb: stop using HTML comments in <script> 2017-12-15 12:15:58 +08:00
graphentry.tmpl gitweb: render changesets server-side on /graph page 2017-12-04 17:43:45 +08:00
header.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
help.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
helptopics.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
index.tmpl hgweb: call process_dates() via DOM event listener 2017-01-10 20:47:48 -08:00
manifest.tmpl hgweb: move changeset "tags" to a template in map file (gitweb and monoblue) 2017-11-15 19:36:16 +08:00
map gitweb: render changesets server-side on /graph page 2017-12-04 17:43:45 +08:00
notfound.tmpl hgweb: urlescape all urls, HTML escape repo/tag/branch/... names 2013-02-01 20:43:35 +01:00
search.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00
shortlog.tmpl hgweb: use separate CSS class for navigation links in footer 2017-06-20 20:53:29 -07:00
summary.tmpl hgweb: show changeset age in more places (gitweb and monoblue) 2017-11-21 20:28:57 +08:00
tags.tmpl hgweb: refresh styling of gitweb's search form 2017-06-09 13:55:51 -07:00