Browse Source

Simplify test

pull/176/head
Louis 9 years ago
parent
commit
f9208e8581
  1. 2
      patacrep/content/__init__.py

2
patacrep/content/__init__.py

@ -223,7 +223,7 @@ def render(context, content):
rendered += elem.render(context) + EOL
previous = elem
if isinstance(last, ContentItem):
if last is not None:
rendered += last.end_block(context) + EOL
return rendered

Loading…
Cancel
Save