minor fix of exception display.
Fixes #1897: Make gii diff markup copy paste friendly