TKMM-Team / Tkmm

A mod merger and manager for Tears of the kingdom
https://tkmm.org
MIT License
46 stars 8 forks source link

[Bug] Markdown Rendering Issue #45

Open DrSqueeze opened 1 month ago

DrSqueeze commented 1 month ago

IMG_5508

https://github.com/user-attachments/assets/c500dc18-b8f5-4cfb-a735-93deebfa425c

https://github.com/user-attachments/assets/c3ce41a6-6613-4d8f-888c-2e84dbc661d2

ArchLeaders commented 1 month ago

Can you please send the entire log file so I can see the rest of the stack trace?

DrSqueeze commented 1 month ago

log.txt

DrSqueeze commented 1 month ago

If you lmk the fix whenever you figure it out that would be awesome, thanks man

ArchLeaders commented 1 month ago

This is a really weird issue. I've fixed (or "worked around") the crash in https://github.com/TKMM-Team/Tkmm/commit/5fe42537226086031d61e2c7a6f4879f7f00b53b, but it still behaves really weirdly.

For example, if I start TKMM with a mod selected containing a code block, the same error will be thrown in the background and cause the descriptions of other mods to be blank when first selecting them.

However, if a mod without code blocks in the description is selected when starting TKMM, everything works fine (including those with a code block).

The only thing I've noticed with the latter state is just after a mod with a code block in its description is selected, the next mod selected throws an error and the description is blank until selecting it again.

ArchLeaders commented 1 month ago

Update: This is more consistent than I originally thought.

Any mod selected just after those with code blocks in the description causes the error to be thrown and a blank description.

ArchLeaders commented 1 month ago

This is an issue with Markdown.Avalonia: https://github.com/whistyun/Markdown.Avalonia/issues/152

ArchLeaders commented 3 weeks ago

Will be fixed when https://github.com/whistyun/Markdown.Avalonia/pull/154 is merged and released.