2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-31 08:42:24 +00:00

Get RSS generation to work with the new version of quickbook.

But I'm going to use the old version since the new one will create
whitespace changes in old entries. I think I need to work out a way to
freeze old entries.

[SVN r63932]
This commit is contained in:
Daniel James
2010-07-12 21:50:00 +00:00
parent b799b66102
commit 7e2dbe2ff4

View File

@@ -184,8 +184,13 @@ class BoostBook2RSS:
*self.x_children(node))
def x_listitem(self,node):
return self.new_node('li',
*self.x_children(node))
simpara = self.get_child(node,tag='simpara')
if simpara:
return self.new_node('li',
*self.x_children(simpara))
else:
return self.new_node('li',
*self.x_children(node))
def x_phrase(self,node):
return self.new_node('span',