change search pattern for d3 logo replacement
use "(D3)" instead of "D3"
This commit is contained in:
parent
834f2bc854
commit
8aa15fe8de
@ -170,7 +170,7 @@ class d3TextRenderer implements InlineRendererInterface
|
||||
$content = $htmlRenderer->escape($inline->getContent());
|
||||
|
||||
$search = array(
|
||||
'D3', 'D³', 'D³'
|
||||
'(D3)', '(D³)', '(D³)'
|
||||
);
|
||||
$replace = "<i class='fab fa-d3 d3fa-color-blue'></i>";
|
||||
$content = str_replace($search, $replace, $content);
|
||||
|
Loading…
Reference in New Issue
Block a user