I need help with getting my text to show correctly using HTML

I have a view control that is displaying a column in HTML format. I set it that way because the text in the column needs to include indenting spaces in order to display the column text correctly. In order to show multiple spaces in a browser, I understand that I need to use &nbsp tags, but what is the exact syntax for the text? I can’t get it to work with or

or both.

Subject: &nbsp might not work

In XML   is not valid markup. Use instead.

Also, you didn’t put the semi-colon in your post but I’m assuming you put it in your code.

Subject: I don’t understand…

Use what instead? All I see is a space. And, multiple spaces just get truncated into one. (yes, I did use a ; in the code) This is what I have as the value for my view column:

spaces:="      &nbsp";

@Repeat(spaces;indent) + Name

where indent is a computed number. How do I modify this to work?

Subject: I guess my response proves that it works…

Ampersand#160; is the code I entered (replace the word Ampersand with the symbol).