From a5adff0ab63709f0aa74ddc534833dd8ea39420d Mon Sep 17 00:00:00 2001 From: Mayhem Date: Mon, 19 Aug 2013 12:27:04 +0200 Subject: [PATCH] Fix parsing of empty text nodes in Post::parseComment(). --- src/General/Post.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/General/Post.coffee b/src/General/Post.coffee index 1b890c2ec..7319235fd 100644 --- a/src/General/Post.coffee +++ b/src/General/Post.coffee @@ -56,6 +56,8 @@ class Post @kill() if that.isArchived parseComment: -> + # Merge text nodes and remove empty ones. + @nodes.comment.normalize() # Get the comment's text. #
-> \n # Remove: