Added stuff to set content end-of-line and reduce entity encoding of commit
message part to only do html special chars escaping.