Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Commit

Permalink
url encoded data
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnetters committed Apr 19, 2017
1 parent 31bdebf commit e955d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Command/MakeShareData.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public function handle(
'class' => 'shares-facebook'
],
'twitter' => [
'href' => "http://twitter.com/intent/tweet?status=$title+-+$url"
'href' => 'http://twitter.com/intent/tweet?status=' . urlencode($title) . '&url=' . urlencode($url)
],
'whatsapp' => [
'href' => "whatsapp://send?text=$url",
'href' => 'whatsapp://send?text=' . urlencode($url),
'class' => 'shares-whatsapp'
],
'linkedin' => [
Expand Down

0 comments on commit e955d95

Please sign in to comment.