fix #6 - replacing spaces with html space character