diff --git a/addtoany.module b/addtoany.module index 5e6a505ad72ee39aada4bd6081c935a9c40dfff1..8b00a6a2cfb065dd9df85b3b7caef6e87cd99ffc 100644 --- a/addtoany.module +++ b/addtoany.module @@ -259,5 +259,7 @@ function addtoany_create_buttons($url = NULL, $title = NULL, $config = NULL) { } } + $buttons = str_replace(array("\r", "\n"), '', $buttons); + return $buttons; }