Skip to content

Commit 30de900

Browse files
authored
Fixes(#1) cramming of commands (#2)
1 parent ae4f20b commit 30de900

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.4.5
1+
3.4.7

src/http/commands/help/presenter.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ def render_html_list(data, skip_wrapper: false)
128128
manifest = data.relevant_manifest
129129

130130
if manifest.is_a?(::Symbol)
131+
html << "<li>"
131132
html << foobara_reference_link(data.to_type)
133+
html << "</li>"
132134
else
133135
html << "<ul>" unless skip_wrapper
134136
data.relevant_manifest.each_pair do |key, value|
@@ -144,7 +146,9 @@ def render_html_list(data, skip_wrapper: false)
144146
html << "</ul>" unless skip_wrapper
145147
end
146148
when Manifest::Type, Manifest::Command, Manifest::Error
149+
html << "<li>"
147150
html << foobara_reference_link(data)
151+
html << "</li>"
148152
when Manifest::PossibleError
149153
html << render_html_list(data.error)
150154
else

0 commit comments

Comments
 (0)