Skip to content

"KaTeX parse error: Expected 'EOF', got '<bla>' at position 1" when input pure Chinese character(s) #895

@brlin-tw

Description

@brlin-tw

_257

control case:

_258

Bug Reproducing Instructions

  1. Browse KaTeX – The fastest math typesetting library for the web
  2. Input any C(JK) characters, this attempt uses "測試"

Expected Behavior

"測試" printed in "See how it renders with KaTeX: " field, presumably to be in italic just as any regular text

Current Behavior

The "See how it renders with KaTeX: " field spews out the following error:

KaTeX parse error: Expected 'EOF', got '測' at position 1: 測̲試

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions