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 834f2bc854
commit 8aa15fe8de

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);