From ffc25073622da9ae11b2aa23f29f31d96bd930b7 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Fri, 6 Mar 2020 18:21:34 -0800 Subject: [PATCH] Ensure we trim the footer content --- src/views/settings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () {