Due to the nature of color codes in Minecraft, it was necessary to introduce style preservation into the renderer. This allows the user to type messages where the color changes midway through, without terminating the markdown region prematurely.
The initial implementation of this system works decently well on it's own, however it does appear to break reliably when the user supplies multiple color codes in rapid succession (between 0 to 1 - 2 characters apart).
Due to the nature of color codes in Minecraft, it was necessary to introduce style preservation into the renderer. This allows the user to type messages where the color changes midway through, without terminating the markdown region prematurely.
The initial implementation of this system works decently well on it's own, however it does appear to break reliably when the user supplies multiple color codes in rapid succession (between 0 to 1 - 2 characters apart).