fix empty space at end of <code>