Permalink
Browse files

box_macros: Leave spaces between HTML attributes.

  • Loading branch information...
1 parent 31813d0 commit 2ab6fe75e7dc0051ecabb9e48cfdff8eebdf4160 @nicolas17 nicolas17 committed Jan 7, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 buildbot/status/web/templates/box_macros.html
@@ -3,9 +3,7 @@
{%- if comment -%}<!-- {{ comment }} -->{%- endif -%}
<td class="{{ kwargs.class or kwargs.class_ or "" }}"
{%- for prop in ("align", "colspan", "rowspan", "border", "valign", "halign") -%}
- {%- if prop in kwargs -%}
- {{ prop }}="{{ kwargs[prop] }}"
- {%- endif -%}
+ {%- if prop in kwargs %} {{ prop }}="{{ kwargs[prop] }}"{% endif -%}
{%- endfor -%}>
{%- if text is string -%}

0 comments on commit 2ab6fe7

Please sign in to comment.