remove redundant html tags

This commit is contained in:
mappu 2015-11-07 18:26:46 +13:00
parent ac79051db4
commit ea7092ebef
1 changed files with 1 additions and 3 deletions

View File

@ -212,10 +212,8 @@ class CProject {
$prefix_html = '';
$this->longdesc = preg_replace_callback('~\r?\nWritten in ([^\\r\\n]+)~ms', function($matches) use (&$prefix_html) {
$prefix_html .= (
'<html>'.
(SHIELDS_PREFIX ? mkshield('build', 'success', 'brightgreen').'&nbsp;' : '').
mkshield('written in', $matches[1], 'blue').
'</html>'
mkshield('written in', $matches[1], 'blue')
);
return '';
}, $this->longdesc);