Skip to content

Commit

Permalink
clean up whitespace in template rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Mar 19, 2012
1 parent ecd7a23 commit 88400b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def render_template():
if loader_class == NewTextTemplate:
return literal(stream.render(method="text", encoding=None))

return literal(stream.render(method=method, encoding=None, strip_whitespace=False))
return literal(stream.render(method=method, encoding=None, strip_whitespace=True))


if 'Pragma' in response.headers:
Expand Down

0 comments on commit 88400b7

Please sign in to comment.