|
All checks were successful
Forgejo Android APK / Build signed APK (push) Successful in 1m58s
The earlier fix corrected two of the repair rules and left the rest with the same flaw, and the punctuation boundary it introduced let the table case back in. A review found the remainder. Every repair rule inserted newlines with no idea whether it was inside a markdown table row. A dose row such as "| Dexamethasone | 0.6 mg/kg PO (max 16 mg) - single dose | 1 |" was split mid-row, which drops that row's citation and every row below it out of the table. A "#" column destroyed the table outright. The rules now skip table rows, dividers and headers entirely. Ranges were still split in three other places: in a heading, so "### Dexamethasone 0.15 - 0.6 mg/kg" rendered as a heading reading "Dexamethasone 0.15"; after a citation; and beside a hash, where "Room # 4" became a heading. A hyphen now starts a list item only when a number does not follow, and a run-together heading is recognised by the capital letter after the hashes rather than by position. Adjacent citation merging could also cross a paragraph break, turning "[1]\n\n[2] Vancomycin only if MRSA" into "[1, 2]Vancomycin only if MRSA" -- joining two paragraphs and moving a citation onto a claim it never supported. Merging is now limited to citations on the same line. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| admin-docs-toc.test.js | ||
| assistant-citations.test.js | ||
| assistant-image-intent.test.js | ||
| assistant-sources-cleaning.test.js | ||
| backend-hardening.test.js | ||
| bedside-respiratory-ventilation.test.js | ||
| calc-math.test.js | ||
| calculators-data.test.js | ||
| clinical-assistant-prompt-pool.test.js | ||
| clinical-generation-options.test.js | ||
| clinical-notes-entrypoints.test.js | ||
| clinical-retrieval-title.test.js | ||
| embeddings-provider.test.js | ||
| extension-transfer.test.js | ||
| frontend-rendering-safety.test.js | ||
| learning-hub-ai-category.test.js | ||
| learning-hub-ai-panel-controller.test.js | ||
| learning-hub-editor.test.js | ||
| learning-hub-quiz-controller.test.js | ||
| learning-hub-webdav-controller.test.js | ||
| metrics.test.js | ||
| model-defaults.test.js | ||
| module-entrypoints.test.js | ||
| notes-sanitize.test.js | ||
| pe-guide-data.test.js | ||
| stt-provider.test.js | ||
| transcription-memory-policy.test.js | ||
| tts-provider.test.js | ||
| well-visit-data.test.js | ||