[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#757443: tracker html syntax



On Mon, 01 Dec 2014, Christophe Siraut wrote:
> Checking the tracker pages against W3C validator spots quite a few
> errors, here are littles fixes.

Thanks, merged.

> -                    <h4>{{ package.short_description }}</h4>
> +                    <h4>{{ package.short_description }}{% if not package.short_description %}&nbsp;{% endif %}</h4>

I changed this to not generate the <h4> at all if
package.short_description is empty.

Cheers,
-- 
Raphaël Hertzog ◈ Debian Developer

Support Debian LTS: http://www.freexian.com/services/debian-lts.html
Learn to master Debian: http://debian-handbook.info/get/


Reply to: