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

fix(bluesky): Refines _clean_text method #612

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

ERosendo
Copy link
Contributor

This commit refines the regex pattern to specifically match and remove markup notation associated with embedded links. This ensures that the rest of the post content remains intact, preventing unintended formatting changes.

By making these modifications, we've improved the accuracy and reliability of the text cleaning process, ensuring that embedded links are displayed correctly within Bluesky posts.

Here's a screenshot of one of the post created with this new clean method:

image

This commit refines the regex pattern to specifically match and remove markup notation associated with embedded links. This ensures that the rest of the post content remains intact, preventing unintended formatting changes.

By making these modifications, we've improved the accuracy and reliability of the text cleaning process, ensuring that embedded links are displayed correctly within Bluesky posts.
@ERosendo ERosendo marked this pull request as ready for review September 25, 2024 15:24
@mlissner mlissner merged commit 6db8208 into main Sep 25, 2024
10 checks passed
@mlissner mlissner deleted the fix-clean-only-brackets-for-embedded-links branch September 25, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants