Describe the issue
Weblate auto fixes (French) punctuation in a XLIFF placeholder where equiv-text is Angular code. Fixing the punctuation inside Angular code breaks the application.
I already tried
Steps to reproduce the behavior
- Go on https://weblate.framasoft.org/translate/peertube/angular/fr_FR/?checksum=2ba6bdfd1d022e0b
- See weblate tries to fix the string
(<x id="INTERPOLATION" equiv-text="{{ dailyUserVideoQuota | bytes : 0 }}"/> par jour) into (<x id="INTERPOLATION" equiv-text="{{ dailyUserVideoQuota | bytes : 0 }}"/> par jour), which breaks the Angular application.
Expected behavior
Do not try to fix placeholders, or provide a way to ignore placeholders using a flag
Screenshots
No response
Exception traceback
How do you run Weblate?
Other
Weblate versions
Weblate 5.14.3
Weblate deploy checks
Additional context
No response
Describe the issue
Weblate auto fixes (French) punctuation in a XLIFF placeholder where
equiv-textis Angular code. Fixing the punctuation inside Angular code breaks the application.I already tried
Steps to reproduce the behavior
(<x id="INTERPOLATION" equiv-text="{{ dailyUserVideoQuota | bytes : 0 }}"/> par jour)into(<x id="INTERPOLATION" equiv-text="{{ dailyUserVideoQuota | bytes : 0 }}"/> par jour), which breaks the Angular application.Expected behavior
Do not try to fix placeholders, or provide a way to ignore placeholders using a flag
Screenshots
No response
Exception traceback
How do you run Weblate?
Other
Weblate versions
Weblate 5.14.3
Weblate deploy checks
Additional context
No response