From: Michael Vogel Date: Fri, 21 Dec 2012 01:11:49 +0000 (+0100) Subject: The attribut value for the "share" attribut "author" is now escaped. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=168f675f273be26ca264f0f090eabe2918207b47;p=friendica-addons.git The attribut value for the "share" attribut "author" is now escaped. --- diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index 400dd92a..f7841300 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -329,7 +329,7 @@ function fromgplus_fetch($a, $uid) { $post = fromgplus_html2bbcode($item->annotation)."\n"; if (intval(get_config('system','new_share'))) { - $post .= "[share author='".$item->object->actor->displayName. + $post .= "[share author='".str_replace("'", "'",$item->object->actor->displayName). "' profile='".$item->object->actor->url. "' avatar='".$item->object->actor->image->url. "' link='".$item->object->url."']";