|
All checks were successful
Forgejo Android APK / Build signed APK (push) Successful in 1m52s
Three rendering defects in the clinical assistant, all confirmed by running the
code rather than reading it.
A spaced hyphen anywhere in a sentence was rewritten as a list item, so every
numeric range written that way was split in two:
"Give dexamethasone 0.15 - 0.6 mg/kg orally."
-> "Give dexamethasone 0.15\n- 0.6 mg/kg orally."
which renders as a truncated sentence followed by a bullet, and a dose range
therefore reads as a different dose. The same applied to SpO2 targets, pH ranges
and age ranges. A hyphen now starts a list item only at the beginning of a line
or after sentence punctuation, which still catches the case the rule was written
for.
An answer ending in a bold phrase lost its closing marker, because trailing
emphasis was stripped unconditionally and the strip ran twice. Only an unpaired
marker is removed now.
Inline maths swallowed dollar amounts: "Costs $5 to $10 per dose" rendered the
text between the signs as an equation and dropped both signs. A $...$ span is
now treated as maths only when it contains something mathematical, so subscripts
and fractions still render.
Citation handling is unchanged and covered by the same tests: clusters still
merge and sort, unknown source numbers stay literal, links still resolve by index,
and bare numbers in a table's Source column still become bracketed tokens.
The state before these fixes is tagged pre-citation-fixes-20260828.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| assistant | ||
| bedside | ||
| calculators | ||
| learningHub | ||
| notes | ||
| wellVisit | ||
| admin-docs.js | ||
| admin.js | ||
| app.js | ||
| audioBackup.js | ||
| auth.js | ||
| authFetch.js | ||
| calc-math.js | ||
| calculators.js | ||
| chartReview.js | ||
| clinicalAssistant.js | ||
| diagrams.js | ||
| documents.js | ||
| drugs-loader.js | ||
| e2e-bootstrap.js | ||
| ed-encounters.js | ||
| encounters.js | ||
| extensions.js | ||
| hospitalCourse.js | ||
| learningHub.js | ||
| liveEncounter.js | ||
| memories.js | ||
| milestones.js | ||
| milestonesData.js | ||
| nextcloud.js | ||
| notes.js | ||
| peGuide.js | ||
| secureStorage.js | ||
| shadess.js | ||
| sickVisit.js | ||
| soap.js | ||
| speechRecognition.js | ||
| transcriptionSettings.js | ||
| ui-state.js | ||
| voiceDictation.js | ||
| voicePreferences.js | ||
| wellVisit.js | ||