diff --git a/src/Plugin/Filter/FootnotesFilter.php b/src/Plugin/Filter/FootnotesFilter.php index 03bff31..8189be0 100644 --- a/src/Plugin/Filter/FootnotesFilter.php +++ b/src/Plugin/Filter/FootnotesFilter.php @@ -168,7 +168,7 @@ class FootnotesFilter extends FilterBase implements ContainerFactoryPluginInterf // Citations should not contain paragraph tags as they should be inline // content. This attempts to remove them; however, if the 'Convert line // breaks filter' runs after this filter, it will still be an issue. - $markup = str_replace(['
', '
'], '', $markup); + // $markup = str_replace(['', '
'], '', $markup); static::replaceNodeContent($node, $markup); }