Extract the first line of a commit as the title

Use also <pre> tags for the message to preserve line breaks.
fixes https://meta.discourse.org/t/22396