delete last br before code closing tag (code highlighter) 

The toHTML() method of the Highlighter adds a br  to every line (line 298).
This strips the br  from the last line. 

http://i.imgur.com/UJDGRt8.png