Use div tags instead of P, for BBcode compatibility

Because BBCodes may introduce div tags and other tags not valid inside of P tags, we should replace the use of P tags with DIV tags instead for the output of the message content..