this post was submitted on 02 Feb 2025
6 points (100.0% liked)

Summit

793 readers
7 users here now

Community to discuss Summit, a Lemmy reader for Android.

App (Play Store): https://play.google.com/store/apps/details?id=com.idunnololz.summit

APK: https://github.com/idunnololz/summit-for-lemmy/releases

Patreon: https://patreon.com/SummitforLemmy

Ko-Fi: https://ko-fi.com/summitforlemmy

Website: https://summit.idunnololz.com/

founded 2 years ago
MODERATORS
 

This triple-backticked comment loads in the Lemmy web ui but not in Summit, though weirdly it works fine on the original instance!

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 2 points 1 week ago (1 children)

I checked the raw response from the server. The comment is not triple back ticked. It is only single back ticked. In the original instance it is triple back ticked. This is likely a syncing error between instances. Eg. the user posted the comment with single back ticks in the original instance then corrected the comment however the 2nd instance only received the original comment and not the correction.

I think markdown technically doesn't define what the correct behavior is here so the behavior by the client isn't "wrong" however it's unexpected. I will issue a fix so that the markdown parsing is consistent with web. Eg. if an inline code block contains new lines, the new line characters are converted into spaces.

[โ€“] [email protected] 2 points 1 week ago

Oh wow, thanks for the analysis!