From 3e76ad77931a334fddf084ab5806113110c17f03 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 18 Apr 2016 20:57:01 +0200 Subject: [PATCH] Bugfix: ' in titles were a problem. --- mod/parse_url.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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(); } ?>