Paragraphs cannot contain block elements.
# -*- coding: koi8-r -*-
__author__ = "Oleg Broytman <phd@phdru.name>"
-__copyright__ = "Copyright (C) 2006-2013 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2006-2014 PhiloSoft Design"
import sys, os
from news import get_news, write_if_changed
new_text = [header]
new_text.append("""
-<p class="head">
- <ul>
+<ul>
""")
for item in news_items:
- new_text.append(' <li><a href="%s">%s - %s</a></li>\n' % (item.rel_link, item.date, item.title))
+ new_text.append(' <li><a href="%s">%s - %s</a></li>\n' % (item.rel_link, item.date, item.title))
new_text.append("""\
- </ul>
-</p>
+</ul>
<p class="head">
""")