Skip to content

Commit 47de6c4

Browse files
committedSep 20, 2015
Strip Atomic whitespace
1 parent 24c86aa commit 47de6c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎nikola/nikola.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1940,7 +1940,7 @@ def atom_post_text(post, text):
19401940
text = ""
19411941
else: # let other errors raise
19421942
raise(e)
1943-
return text
1943+
return text.strip()
19441944

19451945
for post in posts:
19461946
summary = atom_post_text(post, post.text(lang, teaser_only=True,

0 commit comments

Comments
 (0)
Please sign in to comment.