Fix bug with section padding and long code blocks