adds regex to fix spaces after inline elements