Thanks for the reply and feedback Dog.

As a reminder, if you take a look you should see some buttons under Instant UBB Code

By placing your code inbetween the [ code ] tags it will maintain a proper code layout.