diff --git a/guacamole/src/main/webapp/app/form/types/ColorScheme.js b/guacamole/src/main/webapp/app/form/types/ColorScheme.js index f6a659411..e25458e04 100644 --- a/guacamole/src/main/webapp/app/form/types/ColorScheme.js +++ b/guacamole/src/main/webapp/app/form/types/ColorScheme.js @@ -214,12 +214,12 @@ angular.module('form').factory('ColorScheme', [function defineColorScheme() { ColorScheme.toString = function toString(scheme) { // Add background and foreground - var str = 'background:' + fromHexColor(scheme.background) + ';' - + 'foreground:' + fromHexColor(scheme.foreground) + ';'; + var str = 'background: ' + fromHexColor(scheme.background) + ';\n' + + 'foreground: ' + fromHexColor(scheme.foreground) + ';'; // Add color definitions for each palette entry for (var index in scheme.colors) - str += 'color' + index + ':' + fromHexColor(scheme.colors[index]) + ';'; + str += '\ncolor' + index + ': ' + fromHexColor(scheme.colors[index]) + ';'; return str;