wagtail-localize
wagtail-localize copied to clipboard
Normalize whitespace in StringTranslation data processing
Fix: Normalize Strings Before Insertion and Querying
Issue Reference: #838
This PR addresses an issue where certain string segments reset after synchronization and publishing due to inconsistencies in how they are stored and queried from templates.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 93.14%. Comparing base (
5cacf24) to head (eff4eeb).
Additional details and impacted files
@@ Coverage Diff @@
## main #863 +/- ##
=======================================
Coverage 93.13% 93.14%
=======================================
Files 47 47
Lines 4241 4244 +3
Branches 550 550
=======================================
+ Hits 3950 3953 +3
Misses 174 174
Partials 117 117
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
:rocket: New features to boost your workflow:
- :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
- :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
Hi, could you please add tests?