GustavoFernandes / order-splitter

https://gustavofernandes.github.io/order-splitter/
MIT License
3 stars 3 forks source link

Results table does not format correctly #23

Closed Fostecks closed 7 years ago

Fostecks commented 7 years ago

When an order has both long names and short names, the resulting table's columns are not aligned properly (after copying it from the table and into a preformatted block in rocketchat).

Example: https://gustavofernandes.github.io/order-splitter/index.html?tax=3.85&fee=4.78&tip=15&Gus=10&Larry=5&Melody=10&Austin=10&Nathaniel=6&Benjamin=9.25&Daniel=10

Result:

Gus $12.82
Larry   $6.75
Melody  $12.82
Austin  $12.82
Nathaniel   $7.97
Benjamin    $11.91
Daniel  $12.82
dumbbillyhardy commented 7 years ago

I've had this same issue

image

jonsmithers commented 7 years ago

Tabs vs spaces. Spaces win.