this post was submitted on 15 Mar 2025
9 points (100.0% liked)

Summit

833 readers
57 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

Support the app

Support me on Patreon

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

founded 2 years ago
MODERATORS
 

If someone uses hashtags in posts or comments, they are interpreted as headline. Here's a screenshot and a link of an example:

https://lemm.ee/post/58465311

My suggestion would be to only parse it as a headline, if between the # and the next word is a whitespace. I've seen it that way in other markdown parsers and I think that works well.

Edit: Typo

top 3 comments
sorted by: hot top controversial new old
[–] idunnololz@lemmy.world 1 points 10 hours ago* (last edited 9 hours ago)

Super easy fix. The client actually needed special logic to produce the bug described here. I added this special logic a long time ago because I noticed a lot of people omit the space when they format headers in markdown resulting in misformatted headings however it's technically the fault of the author and not the app. It's easier to have the app not correct for this.

[–] morrowind@lemmy.ml 1 points 18 hours ago (1 children)

I think this is fixed in the latest version already

[–] idunnololz@lemmy.world 1 points 10 hours ago* (last edited 9 hours ago)

That fix was to post titles only. Unfortunately that fix will not affect the issue reported here.