# Bug: Leo AI renders Markdown in a way that silently removes index brackets “\[0\]” from the code

**URL:** <https://community.brave.app/t/bug-leo-ai-renders-markdown-in-a-way-that-silently-removes-index-brackets-0-from-the-code/653436>\
**Category:** Leo AI\
**Tags:** linux\
**Created:** [May 25, 2026, 12:00pm UTC](https://community.brave.app/t/bug-leo-ai-renders-markdown-in-a-way-that-silently-removes-index-brackets-0-from-the-code/653436 "2026-05-25T12:00:21Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Tritonio](https://sea1.discourse-cdn.com/brave/user_avatar/community.brave.app/tritonio/32/184937_2.png) [@Tritonio](https://community.brave.app/u/Tritonio)\
**Post date:** [June 3, 2026, 8:10pm UTC](https://community.brave.app/t/bug-leo-ai-renders-markdown-in-a-way-that-silently-removes-index-brackets-0-from-the-code/653436/6 "2026-06-03T20:10:43Z")

</div>

Yeap: [Leo is unable to say [0], breaking code generation - #2 by ste](https://community.brave.app/t/leo-is-unable-to-say-0-breaking-code-generation/645752/2)

This bug still affects me pretty much daily. I keep having to click the edit button on the reply so that I can copy the code manually from the editable version of Leo’s message. The brackets are fine there.

---

_[View the full topic](https://community.brave.app/t/bug-leo-ai-renders-markdown-in-a-way-that-silently-removes-index-brackets-0-from-the-code/653436)._
