Skip to content

Commit ad94911

Browse files
committed
remove the trim
1 parent d49f2a2 commit ad94911

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/server/ruby/lib/sonicpi/synths/synthinfo.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8330,7 +8330,7 @@ def self.info_doc_html_map(klass)
83308330
doc << Kramdown::Document.new(docstring).to_html
83318331
doc << " <p class=\"properties\">\n"
83328332
doc << " Default: #{av[:default]}\n"
8333-
doc << " <br/>#{av[:constraints].collect(&:strip).join(", ").capitalize}\n" unless av[:constraints].empty?
8333+
doc << " <br/>#{av[:constraints].join(", ").capitalize}\n" unless av[:constraints].empty?
83348334
doc << " <br/>#{av[:modulatable] ? "May be changed whilst playing" : "Can not be changed once set"}\n"
83358335
doc << " <br/><a href=\"#slide\">Has slide options to shape changes</a>\n" if av[:slidable]
83368336
doc << " <br/>Scaled with current BPM value\n" if av[:bpm_scale]
@@ -8377,7 +8377,7 @@ def self.info_doc_markdown(name, klass, key_mod=nil)
83778377
res << " * #{ak}:\n"
83788378
res << " - doc: #{av[:doc] || 'write me'}\n"
83798379
res << " - default: #{av[:default]}\n"
8380-
res << " - constraints: #{av[:constraints].empty? ? "none" : av[:constraints].collect(&:strip).join(", ").capitalize}\n"
8380+
res << " - constraints: #{av[:constraints].empty? ? "none" : av[:constraints].join(", ").capitalize}\n"
83818381
res << " - #{av[:modulatable] ? "May be changed whilst playing" : "Can not be changed once set"}\n"
83828382
res << " - Scaled with current BPM value\n" if av[:bpm_scale]
83838383
res << " - Accepts note symbols such as :e3\n" if av[:midi]
@@ -8449,7 +8449,7 @@ def self.samples_doc_html_map
84498449
doc << " <p>#{av[:doc] || 'write me'}</p>\n"
84508450
doc << " <p class=\"properties\">\n"
84518451
doc << " Default: #{av[:default]}\n"
8452-
doc << " <br/>#{av[:constraints].collect(&:strip).join(", ").capitalize}\n" unless av[:constraints].empty?
8452+
doc << " <br/>#{av[:constraints].join(", ").capitalize}\n" unless av[:constraints].empty?
84538453
if av[:slidable]
84548454
doc << " <br/>May be changed whilst playing\n"
84558455
doc << " <br/><a href=\"#slide\">Has slide options to shape changes</a>\n"

0 commit comments

Comments
 (0)