lore2sphinx crashes on links without rel

Issue #8 resolved
Benjamin Arbogast
created an issue

I'm working on the conversion of the foolscap docs. Some of the docs contain a link-tag for a css file. lore2sphinx crashes on such links.

Fix: {{{

!idff

--- a/lore2sphinx/init.py Fri May 13 13:42:33 2011 +0200 +++ b/lore2sphinx/init.py Sat Jun 04 15:43:30 2011 +0200 @@ -530,6 +530,7 @@ author_name = elem.attrib.get('title', None) author = ':Author: %s' % (author_name) return ''.join((BL, author, BL)) + return ''

 #~ def format_basic(self, elem):
     #~ return n2es(elem.text)

}}}

Comments (1)

  1. Log in to comment