diff --git a/src/views/settings.js b/src/views/settings.js index 06f3801e6..3ae2d3c38 100644 --- a/src/views/settings.js +++ b/src/views/settings.js @@ -29,7 +29,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca save: function () { $scope.branding.footer.busy = true; - Client.setFooter($scope.branding.footer.content, function (error) { + Client.setFooter($scope.branding.footer.content.trim(), function (error) { if (error) return console.error('Failed to set footer.', error); Client.refreshConfig(function () {