Fix parsing of empty text nodes in Post::parseComment().
This commit is contained in:
parent
6d5f422c3f
commit
a5adff0ab6
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user