Add rule for operator spacing

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 13:57:13 +02:00
committed by M. Shull
parent 5da7110eb6
commit 12ff88ee21
39 changed files with 167 additions and 162 deletions

View File

@ -56,7 +56,7 @@ class PostContentManager {
'<a>', '<ul>', '<ol>', '<li>', '<br>', '<blockquote>',
];
if ($display_type === 'full') {
$tags_not_being_stripped = array_merge($tags_not_being_stripped, ['<figure>', '<img>', '<h1>', '<h2>', '<h3>']);
$tags_not_being_stripped = array_merge($tags_not_being_stripped, ['<figure>', '<img>', '<h1>', '<h2>', '<h3>']);
}
$content = strip_tags($content, implode('', $tags_not_being_stripped));