howard wolowitz
howard wolowitz

Reputation: 628

Issue with non-breaking space

I am facing issue when i changed font-family of my site from Gotham Pro to Gotham and every number that was formatted via my currency formatter function is breaking styles. When &nbsp character is removed everything seems to be fine. My function for currency

const format = (n) => new Intl.NumberFormat('ru-RU').format(n);

I tried to change this function to do its thing in different way, but problem is not going away

Upvotes: 0

Views: 366

Answers (1)

Avro_Abir
Avro_Abir

Reputation: 166

Did you put semicolon after &nbsp?  

Upvotes: 2

Related Questions