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

2 years ago

medhi
Bronze Partner | 189
+
+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?

2 years ago

David Grudl
Nette Core | 6864
+
0
-

+1

2 years ago

medhi
Bronze Partner | 189
+
+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)