Simplified usage of markdown on the server side and changed to escaping HTML instead of replacing it. Now the server side implementation matches up to a client side script. Move all processing of markdown previews to the client side, which will cut down on requests.