# HG changeset patch # User k0s # Date 1263492396 18000 # Node ID 94dddb3a5d775e08ef58bd0c5c7be4ad2f379e1b # Parent 0af1f4ae328d45596ea6406a5ba01a4b34102d74 remove useless double-strip diff -r 0af1f4ae328d -r 94dddb3a5d77 bitsyblog/bitsyblog.py --- a/bitsyblog/bitsyblog.py Mon Jan 04 03:12:04 2010 +0000 +++ b/bitsyblog/bitsyblog.py Thu Jan 14 13:06:36 2010 -0500 @@ -639,7 +639,7 @@ string = string.strip() try: - parts = docutils.core.publish_parts(string.strip(), + parts = docutils.core.publish_parts(string, writer_name='html', settings_overrides=settings) body = parts['body']