Bugfix: ' in titles were a problem.

This commit is contained in:
Michael Vogel 2016-04-18 20:57:01 +02:00 committed by Roland Haeder
parent 08308e588d
commit 02808c8d12
No known key found for this signature in database
GPG Key ID: B72F8185C6C7BD78

View File

@ -488,7 +488,14 @@ function parse_url_content(&$a) {
unset($siteinfo["keywords"]); 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(); killme();
} }
?> ?>