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(vue-i18n): Allow additional attributes on i18n component #865

Merged
merged 2 commits into from
Aug 27, 2023

Conversation

Fuzzyma
Copy link
Contributor

@Fuzzyma Fuzzyma commented Dec 12, 2022

fixes #864

Is there a reason the \n is not escaped in the regex? All other occurrences of \ are escaped.
Also: How do I add tests for this change?

// EDIT: I assume there was a typo in the rejex and the stray ( in front of \n was meant to be an \ so I changed it accordingly

@terales terales merged commit d7916a5 into lokalise:main Aug 27, 2023
huacnlee pushed a commit to huacnlee/i18n-ally that referenced this pull request Aug 28, 2023
…e#865)

* fix(vue-i18n): Allow additional attributes on i18n component
* dont allow whitespace before/after "=", allow lf after attr
@Fuzzyma Fuzzyma deleted the fix-vue-i18n-component branch February 10, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Allow other attributes on <i18n> component
2 participants