Skip to content

Commit

Permalink
Remove <math> from the allowed tags
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisgo committed Jan 25, 2018
1 parent cb632e5 commit fdd675e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Annotations/Serializer/CommonMark/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

function clean_paragraph(string $text) : string
{
$allowed_tags = '<i><sub><sup><span><del><math><a><br><caption>';
$allowed_tags = '<i><sub><sup><span><del><a><br><caption>';

return strip_tags($text, $allowed_tags);
}
Expand Down

0 comments on commit fdd675e

Please sign in to comment.