Skip to content

Fix TranslatedMessage leaking whitespace#223

Merged
KentoNishi merged 1 commit into
LiveTL:mainfrom
FlaminSarge:fix-whitespace
May 13, 2026
Merged

Fix TranslatedMessage leaking whitespace#223
KentoNishi merged 1 commit into
LiveTL:mainfrom
FlaminSarge:fix-whitespace

Conversation

@FlaminSarge
Copy link
Copy Markdown
Member

@FlaminSarge FlaminSarge commented May 13, 2026

The indentation/newline was being treated as actual whitespace, and I used HTML comments because putting it all on one line wasn't ideal and this is slightly more readable.

Also fix cases where it would treat translated text==original text as having a translation.

Should cherry-pick cleanly onto mv2.

Broken:
Screenshot 2026-05-12 at 10 24 50 PM

Fixed:
Screenshot 2026-05-12 at 10 24 22 PM

The indentation was being treated as actual whitespace, and I used HTML comments because putting it all on one line wasn't ideal and this is slightly more readable.
@KentoNishi KentoNishi merged commit 1ed1363 into LiveTL:main May 13, 2026
3 checks passed
@FlaminSarge FlaminSarge deleted the fix-whitespace branch May 13, 2026 12:44
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