`||` in YouTube embeds renders as spoiler when it shouldn't

(#3131) Bug Closed: Fixed embeds markdown

Reproduction steps

  1. Have a YouTube video embed with || <text> || in its title (in this case https://youtu.be/Jm2dJTsYuB4)
  2. Wait for the embed

Observed behaviour

Text is spoilered. Whitespace following the second || is also trimmed.

Build information

Canary Web 2026.605.11941, Linux (x64), Firefox 151.0, Locale fr

Platform

Web

Evidence

1st: After clicking the spoiler 2nd: Before clicking the spoiler 3rd: Title, as seen on YouTube

Details

Expected behaviour Text should not be spoilered. Whitespace should be preserved.
  1. Rex changed the status from Needs triage to Confirmed
  2. Jiralite changed the status from Awaiting confirmation to Fixed

4 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Confirmed to Awaiting confirmation
|| in YouTube embeds no longer renders as a spoiler.
Comment by Comfy_Deer
Comfy_DeerReviewer 1 vote
Can reproduce CR - Canary Desktop 2026.602.31138, Web 2026.605.11941, Linux 6.17.0-35-generic (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-US
Comment by mesub
mesubMod 1 vote
Can reproduce CR: Canary Desktop 2026.606.140333, Web 2026.605.11941, Windows 11 10.0.26200 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-GB
Comment by ternera
terneraMod 1 vote
Can reproduce CR - Canary Desktop 2026.602.31138, Web 2026.605.11941, Windows 11 10.0.26200 (x64), Electron 41.2.2, Chrome 146.0.7680.188, Node 24.14.1, Locale en-US