Skip to content

Commit

Permalink
Merge pull request #3 from northernco/allow-em-class
Browse files Browse the repository at this point in the history
Allow class attribute on ems
  • Loading branch information
natewiebe13 authored Jul 31, 2020
2 parents 23b4dc1 + 8ae6f74 commit e377e96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Service/MarkdownParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']],
],
Expand Down

0 comments on commit e377e96

Please sign in to comment.