Fixed message preview and HTML->BBCode conversion upon submit