Mercurial > hg-stable
diff templates/filerevision.tmpl @ 1650:f2ebd5251e88
changed template escape filter, added urlescape filter; audited all templates for insertion bugs; added note to manifest.py about newlines in filenames
author | Peter van Dijk <peter@dataloss.nl> |
---|---|
date | Sun, 29 Jan 2006 00:18:52 +0100 |
parents | ba625c8083d8 |
children | e8a3df8b62b3 |
line wrap: on
line diff
--- a/templates/filerevision.tmpl Sun Jan 29 11:17:54 2006 +1300 +++ b/templates/filerevision.tmpl Sun Jan 29 00:18:52 2006 +0100 @@ -1,5 +1,5 @@ #header# -<title>#repo|escape#:#file#</title> +<title>#repo|escape#:#file|escape#</title> </head> <body> @@ -7,13 +7,13 @@ <a href="?cl=#rev#">changelog</a> <a href="?tags=">tags</a> <a href="?cs=#node|short#">changeset</a> -<a href="?mf=#manifest|short#;path=#path#">manifest</a> -<a href="?fl=#filenode|short#;file=#file#">revisions</a> -<a href="?fa=#filenode|short#;file=#file#">annotate</a> -<a href="?f=#filenode|short#;file=#file#;style=raw">raw</a> +<a href="?mf=#manifest|short#;path=#path|urlescape#">manifest</a> +<a href="?fl=#filenode|short#;file=#file|urlescape#">revisions</a> +<a href="?fa=#filenode|short#;file=#file|urlescape#">annotate</a> +<a href="?f=#filenode|short#;file=#file|urlescape#;style=raw">raw</a> </div> -<h2>#file#</h2> +<h2>#file|escape#</h2> <table> <tr>