Skip to content

Implement chat newline rewriter#655

Merged
florianreuth merged 2 commits intoViaVersion:masterfrom
Beaness:newline
Feb 16, 2026
Merged

Implement chat newline rewriter#655
florianreuth merged 2 commits intoViaVersion:masterfrom
Beaness:newline

Conversation

@Beaness
Copy link
Contributor

@Beaness Beaness commented Feb 16, 2026

Fixes #500
Has been running a while in production to make sure no styling is broken, have not seen any issues yet.

@florianreuth
Copy link
Member

Could you show a before/after + some steps to reproduce?

@Beaness
Copy link
Contributor Author

Beaness commented Feb 16, 2026

Test commands:

/tellraw @a {"text":"First Line \n","extra":[{"text":"Bold Part ","bold":true,"extra":[{"text":"A \n B","color":"red"}]}]}
/spark health

Before:
image

After:
image

Copy link
Member

@florianreuth florianreuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't spot any potential issues, so I'll hope for the best:tm:

@florianreuth florianreuth merged commit e0c1f53 into ViaVersion:master Feb 16, 2026
1 check passed
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.

New lines are not getting splitted manually in 1.7->1.8

2 participants