Latte “bytes” filter should be using non-breaking spaces

medhi
Bronze Partner | 202
+
+4
-

Generally, the space between value and unit should be always non-breaking, but bytes filter in Latte puts there common space and there is no way to override it. What do you think? Is there any use case, where common space should be used?

David Grudl
Nette Core | 7236
+
0
-

+1

medhi
Bronze Partner | 202
+
+2
-

And it would be nice to have possibility to set format of the number like in number filter. In Czech I would like to see 2,3 GB instead of 2.3 GB.

Last edited by medhi (2017-03-14 16:00)