The special characters need to be HtmlEncoded. There's a method for that somewhere.
The effect you are seeing is because the rendered text is NOT HtmlEncoded.
The effect you are seeing is because the rendered text is NOT HtmlEncoded.