diff --git a/public/src/client/topic/posts.js b/public/src/client/topic/posts.js index f8ae9a49ea..cc4f4bda3d 100644 --- a/public/src/client/topic/posts.js +++ b/public/src/client/topic/posts.js @@ -439,8 +439,10 @@ define('forum/topic/posts', [ } Posts.addBlockquoteEllipses = function (posts) { - const blockquotes = posts.find('[component="post/content"] > blockquote > blockquote'); - blockquotes.each(function () { + const rootBlockQuotes = posts.find('[component="post/content"] blockquote') + .filter((i, el) => !$(el).parent().is('blockquote')); + const nestedBlockQuote = rootBlockQuotes.find('>blockquote'); + nestedBlockQuote.each(function () { const $this = $(this); if ($this.find(':hidden:not(br)').length && !$this.find('.toggle').length) { $this.append('');