Как загрузить в бд html код?

Мне нужно добавить html код в mysql, но он не добавляется из-за кавычек. Я попробовал экранировать их, но ошибка не уходит

def create_connection(host_name, user_name, user_password, db_name):
    connection = None
        connection = mysql.connector.connect(
            host=host_name,
            user=user_name,
            passwd=user_password,
            database=db_name
        )
        return connection

    cn = create_connection("localhost", "root", "root", "Blog")
    cur = cn.cursor()
    
        
        
        stmt_date = (title, text, price)
        stmt_query = """
                    INSERT INTO
                    `Products` (`title`, `text`, `price`)
                    VALUES
                    (%s, %s, null, %s);
                """
        cur.execute(stmt_query, stmt_date)


Ответы (0 шт):