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

feat: quote audit log values to avoid auto linking #12780

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

nijel
Copy link
Member

@nijel nijel commented Oct 15, 2024

Proposed changes

Some e-mail services such as Gmail automatically convert things that look like a link into links even in HTML mails. This could be problematic for audit log entries as want to display the information as is without turning that into links.

Adding <span> seems to help in this according to https://stackoverflow.com/a/23404042/225718

Checklist

  • Lint and unit tests pass locally with my changes.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added documentation to describe my feature.
  • I have squashed my commits into logic units.
  • I have described the changes in the commit messages.

Other information

@nijel nijel added this to the 5.8.2 milestone Oct 15, 2024
@nijel nijel self-assigned this Oct 15, 2024
Some e-mail services such as Gmail automatically convert things that
look like a link into links even in HTML mails. This could be
problematic for audit log entries as want to display the information as
is without turning that into links.

Adding <span> seems to help in this according to
https://stackoverflow.com/a/23404042/225718
@nijel nijel merged commit 64aa009 into WeblateOrg:main Oct 16, 2024
35 checks passed
@nijel nijel deleted the mail-quote branch October 16, 2024 06:00
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.

1 participant