show spaces at the end of paragraph in Webkit (workaround)

Webkit has a number of problems with contentEditable. This makes sure that one can insert spaces at the end of paragraphs.