Skip to content

Double quote " causes error in sanitize #53

Description

@carlosvaldesweb

If you add double quote at start and end, cause error. It does not happen if we have double quotes in another positions.

$text = '"La resolución del problema de la caída del brete y los daños en la casa es crucial para restaurar la confianza y la seguridad entre los amigos, evitar costos adicionales y prevenir daños futuros, garantizando así la integridad y el bienestar de todos los involucrados."';
$inputText = (new Editor)
                ->sanitize($text);

I've solved using:

$inputText = (new Editor)
                ->sanitize(addslashes($text));

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions