HabitRPG / habitica-android

Native Android app for Habitica
GNU General Public License v3.0
1.41k stars 508 forks source link

markdown on tasks do not work when using line breaks #2049

Closed rilygreat closed 3 days ago

rilygreat commented 9 months ago

Device: samsung Galaxy S8 Android Version: 28 AppVersion: Version 4.3 (6731) User ID: ca543acf-fc03-480d-a0c4-27a12670f5d0 Level: 113 Class: healer Is in Inn: false Uses Costume: true Custom Day Start: 3 Timezone Offset: -60 Details:

Hello! I found a small bug, nothing serious but I use/rely on this function a lot so I thought I'd report it.

Basically the formatting doesn't work properly on my app. I've attached some screenshots to explain myself better. Take picture 1: I'm trying to create a task where the description has text both in italic and in bold. When I save it, the result is as shown in picture 2.

If I try to use only one formatting at a time, however, both work fine, as shown in picture 3 and 4.

1 2 3 4

EanLombardo commented 1 month ago

Can I take this on, I was digging through the markdown code today and I think this is due to a small oversight with regexes that is trivial to fix.

saraolson commented 2 days ago

this will be fixed in android 4.4.2