(PDOC-35) Format generated html properly

Shaigy Nixon on Jira:
"Just a trivial thing. Looks like one line break is missing from the type's
output html between the property and the allowed values for parameter. Rest all
looks great."
https://tickets.puppetlabs.com/browse/PDOC-35?focusedCommentId=215400&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-215400

As an aside, I would really like to rewrite this method to be a real erb
template and not this nonsense.
This commit is contained in:
Ian Kronquist 2015-09-14 12:00:14 -07:00
parent 782fee5d0b
commit 1b421939d4
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class HTMLHelper
end
if param[:allowed_values] and param[:allowed_values] != []
result << "<b> Allowed Values: </b>"
result << "\n<b> Allowed Values: </b>"
result << "<ul>"
param[:allowed_values].each do |value_thing|
result << "<li>"