change search pattern for d3 logo replacement

use "(D3)" instead of "D3"
This commit is contained in:
Daniel Seifert 2019-02-15 11:04:05 +01:00
parent 6a98b9a275
commit 57a739e2aa

View File

@ -170,7 +170,7 @@ class d3TextRenderer implements InlineRendererInterface
$content = $htmlRenderer->escape($inline->getContent());
$search = array(
'D3', 'D³', 'D³'
'(D3)', '()', '(D³)'
);
$replace = "<i class='fab fa-d3 d3fa-color-blue'></i>";
$content = str_replace($search, $replace, $content);