Remove newlines from org-agenda mode to fix the post-command-hook issue.