fastlane/lib/assets/ActionDetails.md.erb in fastlane-2.90.0 vs fastlane/lib/assets/ActionDetails.md.erb in fastlane-2.91.0.beta.20180413050017
- old
+ new
@@ -6,24 +6,24 @@
# <%= @action.action_name %>
<% action = @action %>
<%= action.description %>
-<%= "> #{action.deprecated_notes.gsub("\n\n", "\n")}" unless action.deprecated_notes.to_s.empty? %>
+<%= "> #{action.deprecated_notes.gsub("\n", "<br>")}" unless action.deprecated_notes.to_s.empty? %>
<% if @custom_content %>
<%= @custom_content %>
<hr />
<% else %>
-<%= "> #{action.details.gsub("\n\n", "\n")}" unless action.details.to_s.empty? %>
+<%= "> #{action.details.gsub("\n", "<br>")}" unless action.details.to_s.empty? %>
<% end %>
-<%= action.action_name %> |
------|----
+<%= action.action_name %> ||
+---|---
Supported platforms | <%= [:ios, :android, :mac].find_all { |a| action.is_supported?(a) }.join(", ") %>
Author | @<%= Array(action.author || action.authors).join(", @") %>
<%- unless action.return_value.to_s.empty? -%>
-Returns | <%= action.return_value %>
+Returns | <%= action.return_value.gsub("\n", "<br>") %>
<%- end -%>
<% if (action.example_code || []).count > 0 %>
## <%= action.example_code.count %> Example<%= (action.example_code.count > 1) ? "s" : "" %>