Fix parsing of empty text nodes in Post::parseComment().

This commit is contained in:
Mayhem 2013-08-19 12:27:04 +02:00
parent 6d5f422c3f
commit a5adff0ab6

View File

@ -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.
# <br> -> \n
# Remove: