Indent only subsequent list items

unstable
HD Moore 2012-06-17 20:55:19 -05:00
parent 9ceba4421a
commit a892fce320
1 changed files with 2 additions and 2 deletions

View File

@ -292,9 +292,9 @@ module Rex
when 'URLLink' when 'URLLink'
@report_data[:formatted_link] = attrs["LinkURL"] @report_data[:formatted_link] = attrs["LinkURL"]
else else
data = (" " * (@report_data[:formatted_indent] - 1)) + data data = (" " * (@report_data[:formatted_indent])) + data
if @report_data[:formatted_indent] == 1 if @report_data[:formatted_indent] == 1
@report_data[:formatted_indent] = 7 @report_data[:formatted_indent] = 6
end end
end end