For presenting spaces within an HTML page you can use the entity.
Just replace your spaces with entities.
For more information about HTML entities, you can see that link: http://www.w3schools.com/html/html_entities.asp[^].
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)