Add fix for processing HTML in SQLite code by setting text_factory.