Bugfix: ' in titles were a problem.

This commit is contained in:
Michael Vogel 2016-04-18 20:57:01 +02:00
parent 999ef7f679
commit 3e76ad7793
1 changed files with 8 additions and 1 deletions

View File

@ -488,7 +488,14 @@ function parse_url_content(&$a) {
unset($siteinfo["keywords"]);
echo add_page_info_data($siteinfo);
$info = add_page_info_data($siteinfo);
if (!$textmode)
// Replace ' with - not perfect - but the richtext editor has problems otherwise
$info = str_replace(array("'"), array("’"), $info);
echo $info;
killme();
}
?>