Code Snippet reformatting my code

Maybe this post and the one two below it can help: