{{ message }}
Repository navigation
Tags: plainva/plainva
Tags
fix(markdown): a code block inside a quote or callout is code for eve… …ry reader - ticking a task in the desktop reading view no longer writes a line inside it A fenced block inside a blockquote or callout (lines starting with "> ") was not seen as code by the line scanners. An example "- [ ]" inside it counted as a task: it appeared in task lists and shifted the count of the real tasks after it. The desktop reading view maps a ticked box by counting the boxes remark draws, which skips the code, while the writer counted through the scanner - so ticking the second real task wrote the example line inside the code block. Data corruption, reproduced in a unit test before the fix. One rule now, in packages/core/src/markdownFence.ts, following CommonMark: a fence belongs to the quote level it opened at, closes only on a run of the same character at least as long, and a shallower line ends it. A test holds it against remark on 13 cases. Every scanner uses it (task scan and mutation, tags, checklist, task promotion, note cards); the old private patterns are gone. Known limit, in the module header: the end of a list item does not end a fence opened inside it. Beside it: a Mermaid diagram inside a callout was not drawn in the live preview (the reading view drew it). It is now, with the callout's own line class so the card keeps its border. Both shells share the code. E2E: a reading-view tick writes exactly its line; Mermaid in a callout in live preview and reading view.
test(mobile): the saved task filter state carries the two new switches The phone's filter-state E2E compared the stored state with the shape it had before "Subtasks" and "Bullet points" joined the filters; both are stored with the others now (on by default), as the desktop E2E already expects.
fix(i18n): Dutch names "due" one way - vervalt, vervaldatum, like Mic… …rosoft To Do Dutch had four words for one thing: "te doen" (to do) as the heading of due tasks on the phone's Today tab, "met einddatum", "vervaldatum", and "vervallen" (expired) for the reminder switch. The glossary now fixes the Microsoft To Do wording - vervaldatum, vervalt (vandaag, om 14:00), met vervaldatum, te laat - and the guard in translationTerms.test.ts keeps "met einddatum" and "Vervallen taken" from coming back. "Einddatum" stays the end date of a timeline bar. Twelve strings and three guide pages.
PreviousNext
