fix: vertical spacing increased because `&nbsp;` was inserted in the whole innerHTML