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

Notice: This thread is very old.
medhi
Generous Backer | 255
+
+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 | 8228
+
0
-

+1

medhi
Generous Backer | 255
+
+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)