1
0
Fork 0

added space

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-04-14 15:28:18 +02:00
parent 753b432ab2
commit 3a197833cd
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -769,7 +769,7 @@ function bb_CleanPictureLinks($text) {
function bb_highlight($match) {
if (in_array(strtolower($match[1]), ['php', 'css', 'mysql', 'sql', 'abap', 'diff', 'html', 'perl', 'ruby',
'vbscript', 'avrc', 'dtd', 'java', 'xml', 'cpp', 'python', 'javascript', 'js', 'sh'])) {
return text_highlight($match[2],strtolower($match[1]));
return text_highlight($match[2], strtolower($match[1]));
}
return $match[0];
}