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

Fixes to spoiler markdown regex matching #1170

Merged
merged 2 commits into from
Mar 6, 2024
Merged

Fixes to spoiler markdown regex matching #1170

merged 2 commits into from
Mar 6, 2024

Conversation

hjiangsu
Copy link
Member

@hjiangsu hjiangsu commented Mar 6, 2024

Pull Request Description

This PR aims to fix all of the spoiler markdown issues mentioned in #1166 and more! Furthermore, it disables the custom inline spoiler that was introduced previously since that's not a Lemmy compatible feature.

I did some extensive testing on this to try to catch all the possible edge cases for spoilers. It's heavily documented in this post: https://lemmy.ca/post/10783302

Issue Being Fixed

Issue Number: #1166

Screenshots / Recordings

Checklist

  • Did you update CHANGELOG.md?
  • Did you use localized strings where applicable?
  • Did you add semanticLabels where applicable for accessibility?

Copy link
Member

@micahmo micahmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow nice work!

@hjiangsu hjiangsu merged commit 2f935ec into develop Mar 6, 2024
1 check passed
@hjiangsu hjiangsu deleted the fix/spoiler-tag branch March 12, 2024 18:26
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.

2 participants