From 42aafe15b2fde378511e5f3575cce35521feaa56 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 Aug 2007 19:54:07 -0700 Subject: changes for xhtml compliance --- bn_django/git_wiki/templates/git_wiki/newitems_table | 9 +++++---- bn_django/git_wiki/templates/git_wiki/shortlog_table | 4 ++-- bn_django/git_wiki/templates/git_wiki/tree_table | 8 ++++---- 3 files changed, 11 insertions(+), 10 deletions(-) (limited to 'bn_django/git_wiki') diff --git a/bn_django/git_wiki/templates/git_wiki/newitems_table b/bn_django/git_wiki/templates/git_wiki/newitems_table index e072a10..d8682be 100644 --- a/bn_django/git_wiki/templates/git_wiki/newitems_table +++ b/bn_django/git_wiki/templates/git_wiki/newitems_table @@ -6,26 +6,27 @@ {% if i.isfig %} {{i.path}} - + download {% else %} {{i.path}} - + pdf  latex  raw {% endif %} + {% else %} {% ifequal i.type 'tree' %} {{i.path}}/ - + browse {% else %} {{i.name}} - + {% endifequal %}{% endifequal %} diff --git a/bn_django/git_wiki/templates/git_wiki/shortlog_table b/bn_django/git_wiki/templates/git_wiki/shortlog_table index 85f916d..95aac57 100644 --- a/bn_django/git_wiki/templates/git_wiki/shortlog_table +++ b/bn_django/git_wiki/templates/git_wiki/shortlog_table @@ -5,10 +5,10 @@ {{ l.date }} - {{ l.author }} + {{ l.author|striptags }} - {{ l.description|truncatewords:10 }} + {{ l.description|escape|truncatewords:10 }} {% if heads %}{% for h in heads.iteritems %} {% ifequal h.1 l.hash %} diff --git a/bn_django/git_wiki/templates/git_wiki/tree_table b/bn_django/git_wiki/templates/git_wiki/tree_table index 2f638ef..36bc3a6 100644 --- a/bn_django/git_wiki/templates/git_wiki/tree_table +++ b/bn_django/git_wiki/templates/git_wiki/tree_table @@ -8,12 +8,12 @@ {% if o.isfig %} {{o.path}} - + download {% else %} {{o.path}} - + pdf  latex  raw @@ -22,13 +22,13 @@ {% else %} {% ifequal o.type 'tree' %} {{o.path}}/ - + browse {% else %} {{o.name}} - + {% endifequal %}{% endifequal %} -- cgit v1.2.3