Wiki link markup reads as words wherever a recap, note or card is drawn outside the wiki (#1135) #1136
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/1135-wiki-markup-as-text"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #1135. The owner saw "…under The sea wall ended at the gate the The Tidewatch Ledger calls the first…" on This week → Previously on, on dev (rc11).
Cause
A summary, a note or a page's fact can carry wiki links (
[[T]],[[T|shown]],[[T#Section|shown]]). Only the wiki article rendered them; every other place drew the raw text, in the app and in what leaves it.What changes
backend/app/sheets/conformance/wiki_plain/cases.json):wiki_links.plain_textandwiki/plainWikiText.js.[[T|shown]]→shown;[[T]]and[[T#Section]]→T; an image embed → nothing; an escaped\[[x]]→[[x]]; a:::marker line is dropped. Everything else is left as written. It is not a projection: it decides nothing about who may read a block.session_summary_approvedevent (the Discord post),/recapand/history, the final reminder's recap excerpt, the recap email, and the calendar feed's description. Content only: no/api/bot/*shape changes, noBOT_CONTRACT_VERSIONbump.Checked and left alone
:::gmblock inside a summary, note or fact: these texts are never block text; the server does not parse blocks in them and nothing projects them, so there is no GM-only content to leak through them. A card's face comes fromwiki_text.table_view, never a block. The Find preview draws the GM's own view to the GM only.Checks
vitest run3,982 passed.scripts/changelog.py check,scripts/check_version_sync.py: OK.e2e/identities.json's past recap now carries a link andj6-what-happened.spec.jsasserts that This week and the Read tab contain no[[; CI is its first run.Whether a recap's links should become real links is Q173 for the owner, not part of this.
🤖 Generated with Claude Code