Skip to content

Conversation

@adin00
Copy link
Contributor

@adin00 adin00 commented Oct 22, 2025

Hi,

This PR addresses the use case raised in this discussion.

It enhances the link method and x-muddle-link component to automatically obfuscate the link's title when it is the same as the email address. This prevents the email from being exposed in plain text when it needs to serve as both the clickable link and the visible text.

I have added a test case to cover this new behavior and updated the README.md to briefly document it.

Happy to make any adjustments.

@mokhosh
Copy link
Owner

mokhosh commented Oct 29, 2025

Thanks!

Can you please remove the unrelated changes?

@adin00
Copy link
Contributor Author

adin00 commented Oct 29, 2025

Done. (sorry about that)

@mokhosh
Copy link
Owner

mokhosh commented Oct 30, 2025

Thanks.

Just a mental note to keep here. We might wanna check if title is any email instead of the exact same email. Or maybe always obfuscate the title?

@mokhosh mokhosh merged commit 6619c98 into mokhosh:main Oct 30, 2025
1 check passed
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