fix(fortune): scope s5s fortune markup (#1150)

* fix(markdown): scope fortune markup to fortune boards

* fix(fortune): store fortune output as bbcode

* fix(fortune): keep legacy fortune rendering

* fix(tests): resolve catalog button mock merge

* fix(fortune): validate hidden fortune length
This commit is contained in:
Tommaso Casaburi
2026-06-03 13:49:35 +07:00
committed by GitHub
parent 84f357cba1
commit d09d2d05d1
16 changed files with 439 additions and 93 deletions
@@ -37,6 +37,7 @@ vi.mock('@bitsocial/bitsocial-react-hooks', () => ({
vi.mock('../../lib/utils/challenge-utils', () => ({
alertChallengeVerificationFailed: (...args: any[]) => testState.alertChallengeVerificationFailedMock(...args),
redactGeneratedFortuneFromChallenge: (challenge: unknown) => challenge,
}));
let container: HTMLDivElement;