summaryrefslogtreecommitdiff
path: root/js/post-filter.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/post-filter.js')
-rw-r--r--js/post-filter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/post-filter.js b/js/post-filter.js
index 518e38bb..8eb3ab7d 100644
--- a/js/post-filter.js
+++ b/js/post-filter.js
@@ -425,7 +425,7 @@ if (active_page === 'thread' || active_page === 'index' || active_page === 'cata
array = $post.find('.body').contents().filter(function () {if ($(this).text() !== '') return true;}).toArray();
array = $.map(array, function (ele) {
- return $(ele).text();
+ return $(ele).text().trim();
});
comment = array.join(' ');