mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-11-23 21:34:39 +03:00
[script] Fix extra empty lines in Developer, Browser sections (#667)
This commit is contained in:
parent
40f23b62d2
commit
ed934551ed
7
.github/osia_convert.rb
vendored
7
.github/osia_convert.rb
vendored
@ -132,14 +132,15 @@ def output_apps(apps, appstoreonly)
|
||||
details << details_list[0]
|
||||
details_list[1..-1].each { |x| details << "<br> #{x}" }
|
||||
|
||||
unless screenshots.nil?
|
||||
details << "\n <br>"
|
||||
unless screenshots.nil? || screenshots.empty?
|
||||
details << "\n"
|
||||
screenshots.each_with_index do |s, i|
|
||||
details << "<a href='#{screenshots[i]}'><code>Screenshot #{i+1}</code></a> "
|
||||
end
|
||||
end
|
||||
|
||||
details << "\n </details>\n\n"
|
||||
details << "<br>"
|
||||
details << "</details>\n\n"
|
||||
o << details
|
||||
end
|
||||
o
|
||||
|
Loading…
Reference in New Issue
Block a user