As we say here in Alabama, if it ain't broke, don't fix it.
authorDeryck Hodge <deryck@samba.org>
Thu, 10 Mar 2005 21:25:40 +0000 (21:25 +0000)
committerDeryck Hodge <deryck@samba.org>
Thu, 10 Mar 2005 21:25:40 +0000 (21:25 +0000)
&amp; is legal in XML.

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

git-svn-id: file:///home/svn/samba-web/trunk@565 44aeb9d7-1cd8-0310-b257-a505e0beeac2

scripts/updateNews.py

index 70980589e3d6296890b2a1498f03dc81c4492df5..aade4f7aeb5565975c0d058cbac3e9280f1c3506 100755 (executable)
@@ -193,7 +193,7 @@ feed.write('<description>Latest news and happenings with Samba and Samba develop
 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: