summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhkirsman2017-01-10 14:09:15 -0800
committerPat2017-01-10 14:09:15 -0800
commitccb159ad782a2a50ab59e7acb0a978f49e34817a (patch)
treedb92cd7dbc878648f48a3b12b4d55c6a9c32e549
parent0838f6a19512aa2a99fd8bfcaa7facc7985e5913 (diff)
Issue #2842301 by hkirsman: Even spacing between buttons
-rw-r--r--addtoany.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/addtoany.module b/addtoany.module
index 5e6a505..8b00a6a 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;
}