diff --git a/ui/site/src/forum.ts b/ui/site/src/forum.ts
index c8c43e4c2f852..cf019bb60141b 100644
--- a/ui/site/src/forum.ts
+++ b/ui/site/src/forum.ts
@@ -33,7 +33,9 @@ lichess.load.then(() => {
$(el).replaceWith($('.forum-post__message', el));
});
$('.forum-post__message').each(function (this: HTMLElement) {
- if (this.innerText.match(/(^|\n)>/)) {
+ const isBlocked = $(this).is('.forum-post__blocked *');
+ const isMatching = isBlocked ? this.innerHTML.match(/(^|
)>/) : this.innerText.match(/(^|\n)>/);
+ if (isMatching) {
const hiddenQuotes = '>';
let result = '';
let quote = [];