remove redundant html tags
This commit is contained in:
parent
ac79051db4
commit
ea7092ebef
@ -212,10 +212,8 @@ class CProject {
|
|||||||
$prefix_html = '';
|
$prefix_html = '';
|
||||||
$this->longdesc = preg_replace_callback('~\r?\nWritten in ([^\\r\\n]+)~ms', function($matches) use (&$prefix_html) {
|
$this->longdesc = preg_replace_callback('~\r?\nWritten in ([^\\r\\n]+)~ms', function($matches) use (&$prefix_html) {
|
||||||
$prefix_html .= (
|
$prefix_html .= (
|
||||||
'<html>'.
|
|
||||||
(SHIELDS_PREFIX ? mkshield('build', 'success', 'brightgreen').' ' : '').
|
(SHIELDS_PREFIX ? mkshield('build', 'success', 'brightgreen').' ' : '').
|
||||||
mkshield('written in', $matches[1], 'blue').
|
mkshield('written in', $matches[1], 'blue')
|
||||||
'</html>'
|
|
||||||
);
|
);
|
||||||
return '';
|
return '';
|
||||||
}, $this->longdesc);
|
}, $this->longdesc);
|
||||||
|
Reference in New Issue
Block a user