Hello!
I’m facing an issue with line breaks in io.jmix.flowui.Notifications
and tooltips when using text from message bundles.
Configuration:
- Jmix version 2.4.5
- File
messages_ru.properties
contains:
properties
Copy
Download
passwordValidator.invalid=Password doesn't meet requirements: \n Test1 \n Test2 \u000A Test3
Problem:
The system loads the text correctly (as shown in the screenshot), but ignores line breaks when displaying via Notifications
and tooltip
. All special characters (\n
, \u000A
) are rendered as regular spaces.
Question:
What is the correct way to implement multi-line messages in notifications and tooltips when using messages.properties
?