We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have two html editors. There values are something like $html1 = '
html1
html2
But when I purify them it result into only P tag.
echo(Purifier::clean($html1)); Output-> '
echo(Purifier::clean($html2)); Output-> '
The text was updated successfully, but these errors were encountered:
look for 'AutoFormat.AutoParagraph' => false, in app/purifier.php
Sorry, something went wrong.
No branches or pull requests
I have two html editors.
There values are something like
$html1 = '
html1
<script>alert(1);</script>';
$html2 = '
html2
<script>alert(2);</script>';
But when I purify them it result into only P tag.
echo(Purifier::clean($html1));
Output-> '
html1
'Required output->'
html1
'
echo(Purifier::clean($html2));
Output-> '
html2
'
Required output->'
html2
'
The text was updated successfully, but these errors were encountered: