From a5d4c56336ec216006fe830f630b7de5dde5c67a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 23 May 2003 02:38:55 +0000 Subject: Collapse authors with similar names; make output pass XHTML/CSS validators. Also some author refactoring. svn:r30 --- writeHTML.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'writeHTML.py') diff --git a/writeHTML.py b/writeHTML.py index 019795f..e5d0816 100644 --- a/writeHTML.py +++ b/writeHTML.py @@ -25,15 +25,15 @@ def writeBody(f, sections, section_urls): sDisp = re.sub(r'\s+', ' ', s.strip()) sDisp = sDisp.replace(" ", " ") if u: - print >>f, ('

%s

'%( + print >>f, ('
  • %s

    '%( (BibTeX.url_untranslate(s), u, sDisp))) else: - print >>f, ('

    %s

    '%( + print >>f, ('
  • %s

    '%( BibTeX.url_untranslate(s),sDisp)) print >>f, "" + print >>f, "
  • " def writeHTML(f, sections, sectionType, fieldName, choices, section_urls={}): """sections: list of (sectionname, [list of BibTeXEntry])''' @@ -57,7 +57,7 @@ def writeHTML(f, sections, sectionType, fieldName, choices, section_urls={}): else: choiceStr.append(choice) - choiceStr = "

    %s

    " % (" | ".join(choiceStr)) + choiceStr = (" | ".join(choiceStr)) fields = { 'command_line' : "", 'sectiontypes' : sectionType, -- cgit v1.2.3-70-g09d2