How to not ignore leading whitespaces in MessageFormat?

pr-welcome

(Safa Alfulaij) #1

Hello.
So in MessageFormat strings, whenever a string that starts with a white space, the white spaces get trimmed out.
I found this issue regarding this: Preserve leading whitespace 路 Issue #144 路 messageformat/messageformat.js 路 GitHub
Not sure if the library is outdated, or if that issue didn鈥檛 get solved :sweat_smile:

Example:

{BOTH, select, true { 賵} false {} other {}}


(Sam Saffron) #2

Library is outdated, we should absolutely update to latest #pr-welcome