When I create long markdown reports with Gemini 2.5 almost always I encounter at least one random situation where Gemin inserts ```html randomly in the document - the result is that DT4 or any other markdown viewer starts displaying raw HTML rather than rendered Markdown after that point in the report.
Is this an issue with Gemini or an issue with DT4? The identical script works with Claude (only changing the engine name).
* Includes encounter details, social history, discharge instructions, and medications.
```html
<h1><a href="x-devonthink-item://DD751EA7-183E-4E22-93A0-B5BF8E46970A">JOHN DOE</a></h1>
<h2><font color="red">Inconsistencies</font></h2>