codemancers / invoicing

Ruby invoicing framework gem
http://invoicing.c9s.dev/
MIT License
263 stars 40 forks source link

Non-breaking space for formatting currency #86

Open weber-s opened 3 years ago

weber-s commented 3 years ago

Hello!

Wouldn't it be preferable to format currency with non breaking space between value and currency? When displayed in a table it often break lines with value on top and currency beneath.

I guess this are the line to edit, am I correct?

https://github.com/code-mancers/invoicing/blob/f6e0b33d17d5efd6a3fe8af401957073e6cd6d2e/lib/invoicing/currency_value.rb#L193-195

https://github.com/code-mancers/invoicing/blob/f6e0b33d17d5efd6a3fe8af401957073e6cd6d2e/lib/invoicing/currency_value.rb#L194

Sincerly,