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

Bug#228290: www.debian.org: Empty href in description of CD vendors



Package: www.debian.org
Severity: wishlist
Tags: patch

There are some vendors that have an empty urldeb in their descriptions,
generating an empty href, with tidy dislikes (and is, probably, not
compliant with the web standards). 

The atached patch to vendors.CD.def adds a if to check for empty
strings. I'll apply it if there aren't objections.

--
Gustao R. Montesino (gmontesino)

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux angel 2.4.24 #3 Sáb Jan 10 16:15:17 BRST 2004 i686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR

--- vendors.CD.def.orig	2004-01-17 21:46:25.000000000 -0200
+++ vendors.CD.def	2004-01-17 21:35:03.000000000 -0200
@@ -7,7 +7,7 @@
 </define-tag>
 <define-tag URLdeb whitespace=delete>
   <strong><gettext domain="vendors">URL for Debian Page:</gettext></strong> 
-  <a href="%0">%0</a><br>
+  <if %0 "<a href="%0">%0</a><br>" "<br>">
 </define-tag>
 <define-tag contribution whitespace=delete>
   <strong><gettext domain="vendors">Allows Contribution to Debian:</gettext> 

Reply to: