Fix message sanitization
Prevent HTML messages from flashing
Improve display of message in text mode
Merge remote-tracking branch 'brice/master'
limit inline image to 100% width