From 172bbddc8d3577ed76208fecf50597dda883a31e Mon Sep 17 00:00:00 2001 From: Tom Brien Date: Tue, 29 Sep 2020 16:43:10 +0100 Subject: [PATCH] Add space between type and "required"/"(optional)" (#14648) --- plugins/configuration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/configuration.rb b/plugins/configuration.rb index ef231874b9f..fc599102e64 100644 --- a/plugins/configuration.rb +++ b/plugins/configuration.rb @@ -104,7 +104,7 @@ module Jekyll unless [true, false, 'inclusive', 'exclusive'].include? attr['required'] isTrue = attr['required'].to_s == 'true' - startSymbol = isTrue ? '' : '(' + startSymbol = isTrue ? ' ' : ' (' endSymbol = isTrue ? '' : ')' showDefault = isDefault && (defaultValue.length <= MIN_DEFAULT_LENGTH) shortDefaultValue = ""