Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check that a string contains markdown symbols instead of matches #2080

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

EanLombardo
Copy link
Contributor

.* does not match line breaks, so this regex would never apply to multiline text. This checks for contains instead of using .* to account for this.

Fixes #2049

my Habitica User-ID: 297173d0-c9f8-4eb3-818c-53f699214c98

.* does not match line breaks, so this regex would never apply to multiline text. This checks for contains instead of using .* to account for this.

Fixes HabitRPG#2049
@saraolson
Copy link
Collaborator

@EanLombardo Thanks for your contribution! We're working on an iOS update right now, but when we finish that and return to android we'll review and test this PR. When everything looks good, we'll add it to your Habitica profile :)

@phillipthelen phillipthelen merged commit 1385062 into HabitRPG:main Sep 5, 2024
@saraolson
Copy link
Collaborator

@EanLombardo Thanks for your patience! I've gone ahead and added a record of this contribution to your Habitica profile and awarded you a contributor tier 🎉 your PR will be included in the next Android update, 4.4.2

phillipthelen pushed a commit that referenced this pull request Sep 10, 2024
.* does not match line breaks, so this regex would never apply to multiline text. This checks for contains instead of using .* to account for this.

Fixes #2049
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

markdown on tasks do not work when using line breaks
3 participants