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