implement g:openbrowser_format_message.truncate