Attempt to fix the length bug (#1) by unescaping HTML text before inserting into the database.