sapling/mercurial/templates
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
..
atom hgweb: reindent atom/changelogentry.tmpl 2016-06-29 22:48:32 +08:00
coal coal: use inheritance to derive from paper 2016-08-17 13:43:13 -05:00
gitweb hgweb: stop using HTML comments in <script> 2017-12-15 12:15:58 +08:00
json hgweb: implement json-graph 2017-12-07 17:18:29 +08:00
monoblue hgweb: stop using HTML comments in <script> 2017-12-15 12:15:58 +08:00
paper hgweb: stop using HTML comments in <script> 2017-12-15 12:15:58 +08:00
raw hgweb: use webutil.commonentry() for nodes (but not for jsdata yet) in /graph 2017-11-20 21:59:00 +08:00
rss hgweb: add missing slash to file log url in rss style 2016-12-08 23:59:36 +08:00
spartan hgweb: stop using HTML comments in <script> 2017-12-15 12:15:58 +08:00
static hgweb: render next pages on /graph incrementally 2017-12-11 15:43:56 +08:00
map-cmdline.bisect templater: load template fragments from [templates] section in map file 2017-10-14 17:51:01 +09:00
map-cmdline.changelog templater: load template fragments from [templates] section in map file 2017-10-14 17:51:01 +09:00
map-cmdline.compact templater: load template fragments from [templates] section in map file 2017-10-14 17:51:01 +09:00
map-cmdline.default obsfate: rename obsfate into obsolete in default mapfile 2017-10-19 12:33:53 +02:00
map-cmdline.phases templater: load template fragments from [templates] section in map file 2017-10-14 17:51:01 +09:00
map-cmdline.show show: use labelcset() template alias for work (and stack) views 2017-10-17 20:25:43 +02:00
map-cmdline.status templater: load template fragments from [templates] section in map file 2017-10-14 17:51:01 +09:00
map-cmdline.xml templater: load template fragments from [templates] section in map file 2017-10-14 17:51:01 +09:00