The attribut value for the "share" attribut "author" is now escaped.

pull/87/head
Michael Vogel 2012-12-21 02:11:49 +01:00
parent 804bf0d980
commit 168f675f27
1 changed files with 1 additions and 1 deletions

View File

@ -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."']";