Skip to content

Fix standalone display math fences in v0.12.1 - #75

Merged
JoaoPauloCMarra merged 1 commit into
mainfrom
v0.12.1
Aug 29, 2026
Merged

Fix standalone display math fences in v0.12.1#75
JoaoPauloCMarra merged 1 commit into
mainfrom
v0.12.1

Conversation

@JoaoPauloCMarra

Copy link
Copy Markdown
Owner

Summary

Fixes #74 by recognizing standalone $$ display-math fences as a single opaque math block in static and streaming parsing.

Changes

  • Parse standalone display-math fences before Markdown Setext interpretation while preserving inline math, math: false, containers, offsets, and opaque content
  • Retry changed streamed math after renderer errors while ignoring stale native callbacks
  • Add parser, renderer, fuzz, sanitizer, example, and smoke regression coverage
  • Release react-native-nitro-markdown 0.12.1 and align the Expo SDK 57 example with React Native 0.86.3

@JoaoPauloCMarra
JoaoPauloCMarra merged commit e93be08 into main Aug 29, 2026
1 check passed
@JoaoPauloCMarra
JoaoPauloCMarra deleted the v0.12.1 branch August 29, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Math block using $$...$$ is incorrectly parsed/rendered on mobile

1 participant