Skip to content

Fix TranslatedMessage leaking whitespace#223

Open
FlaminSarge wants to merge 1 commit into
LiveTL:mainfrom
FlaminSarge:fix-whitespace
Open

Fix TranslatedMessage leaking whitespace#223
FlaminSarge wants to merge 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.
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