From 1b421939d42641d177e044150abc1cef49e54370 Mon Sep 17 00:00:00 2001 From: Ian Kronquist Date: Mon, 14 Sep 2015 12:00:14 -0700 Subject: [PATCH] (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. --- .../puppetlabs/strings/yard/templates/default/html_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet_x/puppetlabs/strings/yard/templates/default/html_helper.rb b/lib/puppet_x/puppetlabs/strings/yard/templates/default/html_helper.rb index 56ec2e0..60a8a77 100644 --- a/lib/puppet_x/puppetlabs/strings/yard/templates/default/html_helper.rb +++ b/lib/puppet_x/puppetlabs/strings/yard/templates/default/html_helper.rb @@ -118,7 +118,7 @@ class HTMLHelper end if param[:allowed_values] and param[:allowed_values] != [] - result << " Allowed Values: " + result << "\n Allowed Values: " result << "