strip leading and trailing whitespace from leader
1 files changed, 2 insertions(+), 1 deletions(-)

M quiescent/post.py
M quiescent/post.py +2 -1
@@ 60,7 60,8 @@ class PostParser(HTMLParser):
                 self.leader.append(data)
 
     def post_data(self):
-        return (self.title, self.date, "".join(self.leader), self.body)
+        leader = "".join(self.leader).strip()
+        return (self.title, self.date, leader, self.body)
 
 @dataclass(repr=False)
 class RenderedPost: