]> arthur.barton.de Git - bup.git/commitdiff
web: don't double-escape title path
authorRob Browning <rlb@defaultvalue.org>
Sun, 15 Feb 2015 20:15:57 +0000 (14:15 -0600)
committerRob Browning <rlb@defaultvalue.org>
Mon, 16 Feb 2015 19:09:41 +0000 (13:09 -0600)
Tornado escapes {{}} content via xhtml_escape by default, so drop the
explicit (extra) escape() call.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
lib/web/list-directory.html

index 14ce0ffd403d2f7d23dd77f892971e4b775cf216..54668fb21ca1e37077915d879d9568739a91b56d 100644 (file)
@@ -2,7 +2,7 @@
 <html>
     <head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-        <title>Directory listing for {{ escape(path) }}</title>
+        <title>Directory listing for {{ path }}</title>
         <link rel="stylesheet" href="/static/styles.css" />
     </head>
     <body>