svn commit: samba-web r565 - in trunk/scripts: .

deryck at samba.org deryck at samba.org
Thu Mar 10 21:25:40 GMT 2005


Author: deryck
Date: 2005-03-10 21:25:40 +0000 (Thu, 10 Mar 2005)
New Revision: 565

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=565

Log:

As we say here in Alabama, if it ain't broke, don't fix it.
& is legal in XML.

deryck (who needs to better learn what validates in XML)

Modified:
   trunk/scripts/updateNews.py


Changeset:
Modified: trunk/scripts/updateNews.py
===================================================================
--- trunk/scripts/updateNews.py	2005-03-10 21:10:51 UTC (rev 564)
+++ trunk/scripts/updateNews.py	2005-03-10 21:25:40 UTC (rev 565)
@@ -193,7 +193,7 @@
 feed.write('<link>http://news.samba.org/</link>\n\n')
 
 # Characters to avoid as "undefined entities" in XML
-ents = { '&mdash;' : '--', '&amp;' : 'and' }
+ents = { '&mdash;' : '--' }
 
 count = 10
 for date in post_dates:



More information about the samba-cvs mailing list