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 a041be888a
commit d00954ddcb

View File

@ -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³)'
); );
$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);