Looks like you probably need to move the <pre> inside your format string to be directly around the commit message format characterm. Putting it around the div would do nothing.
The CHANGES token may not support multiple lines, I'd have to look at the source. You can look at the html groovy template in the source code to see how the change set is presented there.