How to remove the Zero Space Character that Repeaters/ListViews generate?
See this Stack Overflow thread: http://stackoverflow.com/questions/10882970/how-to-remove-the-zero-space-character-8203-that-asp-repeaters-generate
I have a basic repeater that generates an unordered list. Though my markup does not contain the zero space character(
​
Erik,
I have deleted most of it. I opened the file in notepad++ with all characters visible and nothign is there that shouldn't be. This isn't isolated to one file though. It occurs in all the repeaters, list views, and rad list views that I have looked at.
Here was my hack to get around this:
if
($(
'.my-list'
).length > 0)
$(
'.my-list'
).each(
function
()
$(
this
).html($(
this
).children(
'li'
));
);