diff options
Diffstat (limited to 'ftplugin/hackernews.py')
| -rw-r--r-- | ftplugin/hackernews.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ftplugin/hackernews.py b/ftplugin/hackernews.py index 97205d1..86b16bf 100644 --- a/ftplugin/hackernews.py +++ b/ftplugin/hackernews.py @@ -267,6 +267,10 @@ def print_comments(comments, level=0): bwrite("%sComment by %s %s: [%s]" % (" "*level*4, comment.get('user', '???'), comment['time_ago'], comment['id'])) + if not comment.get('content', False): + bwrite("") + bwrite("") + continue for p in comment['content'].split("<p>"): if not p: continue |
