fixed wrong nesting of code and pre tags