Kludge to force trailing space on a wrapped line to be rendered in Webkit and IE

Closes #1362