From: Michael Vogel Date: Mon, 18 Apr 2016 18:57:01 +0000 (+0200) Subject: Bugfix: ' in titles were a problem. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02808c8d121179d1533143f1f8da0d9d87bad1f2;p=friendica.git Bugfix: ' in titles were a problem. --- diff --git a/mod/parse_url.php b/mod/parse_url.php index bf111f143c..6a1fc11010 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -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(); } ?>