Skip to content

Commit

Permalink
Merge pull request #1 from carlosrgzm/master
Browse files Browse the repository at this point in the history
Allow html in text messages, for creating for instance links
  • Loading branch information
oriceon committed May 17, 2016
2 parents 65f6a77 + 04ee93c commit 96efed4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "oriceon/toastr-5-laravel",
"name": "carlosrgzm/toastr-5-laravel",
"description": "Easy toastr notifications for Laravel 5",
"keywords": ["toastr", "notification", "laravel", "php"],
"homepage": "https://github.com/oriceon/toastr-5-laravel",
Expand Down
2 changes: 1 addition & 1 deletion src/Kamaln7/Toastr/Toastr.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function render() {
}

// Toastr output
$output .= 'toastr.' . $notification['type'] . "('" . str_replace("'", "\\'", htmlentities($notification['message'])) . "'" . (isset($notification['title']) ? ", '" . str_replace("'", "\\'", htmlentities($notification['title'])) . "'" : null) . ');';
$output .= 'toastr.' . $notification['type'] . "('" . $notification['message'] . "'" . (isset($notification['title']) ? ", '" . str_replace("'", "\\'", htmlentities($notification['title'])) . "'" : null) . ');';
}
$output .= '</script>';

Expand Down

0 comments on commit 96efed4

Please sign in to comment.