6 print >> sys.stderr, "Usage: ./changelog2html.py [changelog file]"
13 print '<html><head><meta http-equiv="content-type" content="text/html;charset=utf-8" /></head><body>'
15 for i in open(f).read().splitlines():
18 if i and i[0].isspace():
22 s = i.split('*', 1)[1].strip()
23 print ' <li>' + s.replace('<', '<').replace('>', '>')
27 print '<h3>%s</h3>' % i.strip()
34 print '</html></body>'