From 8ae6f74fd4dbb2f03941347ee08ca50f54b50dc4 Mon Sep 17 00:00:00 2001 From: Nate Wiebe Date: Fri, 31 Jul 2020 18:02:09 -0400 Subject: [PATCH] Allow class attribute on ems --- Service/MarkdownParser.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Service/MarkdownParser.php b/Service/MarkdownParser.php index f4fca47..1bbede7 100644 --- a/Service/MarkdownParser.php +++ b/Service/MarkdownParser.php @@ -17,6 +17,7 @@ public function __construct() 'extensions' => ['basic', 'list', 'table', 'image', 'code', 'extra'], 'tags' => [ 'code' => ['allowed_attributes' => ['class']], + 'em' => ['allowed_attributes' => ['class']], 'th' => ['allowed_attributes' => ['style']], 'td' => ['allowed_attributes' => ['style']], ],