gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.25k stars 268 forks source link

Crashes when rendering unfinished code block #104

Closed 29decibel closed 1 year ago

29decibel commented 2 years ago

Given content:

let testMarkdown = "here is some code ```"

// view code
Markdown(testMarkdown)

When rendering the above it would crash. Here is the crashing info:

image
gonzalezreal commented 2 years ago

Hi @29decibel, Thanks for reporting this issue. I will fix is ASAP.

gonzalezreal commented 1 year ago

Hey @29decibel,

The fix for this issue will be included in the next release.

Thanks!