* Improved the syntax of two regular expressions
This commit is contained in:
parent
148b225feb
commit
60c6893f78
1 changed files with 2 additions and 2 deletions
|
|
@ -794,8 +794,8 @@ class OutputPage {
|
|||
|
||||
if ( count( $this->mKeywords ) > 0 ) {
|
||||
$strip = array(
|
||||
"/<.*?" . ">/" => '',
|
||||
"/[_]/" => ' '
|
||||
"/<.*?>/" => '',
|
||||
"/_/" => ' '
|
||||
);
|
||||
$ret .= "<meta name=\"keywords\" content=\"" .
|
||||
htmlspecialchars(preg_replace(array_keys($strip), array_values($strip),implode( ",", $this->mKeywords ))) . "\" />\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue