* Safer exception_to_error function
* Fixed html_to_bbcode function (https images)