Skip to content

Desktop: Katex Parse Error Bug while using GLM-5 #14748

Closed

Description

@deadcoder0904

Description

I see this:

ParseError: KaTeX parse error: Expected 'EOF', got '&' at position 336: ...ng>Current H2: "Christmas ...

OpenCode GIF ParseError

I think it should print properly because the above is unreadable. I copied the whole thing to Grok & pasted in its own markdown code-block (using ``` triple back-ticks) without sending the chat & it formatted properly:

Grok Image

This happened multiple times.

Plugins

No response

OpenCode version

Version 1.2.10 (1.2.10)

Steps to reproduce

  1. Use GLM 5
  2. Ask it to generate 25 variations in a table format (I used a .md file in .opencode/agents as a custom agent to generate variations)
  3. See it be incorrect with formatting
  4. Repeat a few times to see the error

Screenshot and/or share link

No response

Operating System

macOS 26.3

Terminal

Ghostty

Activity

  1. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions