]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: ' in titles were a problem.
authorMichael Vogel <icarus@dabo.de>
Mon, 18 Apr 2016 18:57:01 +0000 (20:57 +0200)
committerMichael Vogel <icarus@dabo.de>
Mon, 18 Apr 2016 18:57:01 +0000 (20:57 +0200)
mod/parse_url.php

index bf111f143c69d053716da3ceb71671c1a69ff89b..6a1fc110106ef8f566d599b758b38919a939699f 100644 (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("&#039;"), array("&#8217;"), $info);
+
+       echo $info;
+
        killme();
 }
 ?>