lib/sdp/session_template.erb in sdp-0.2.7 vs lib/sdp/session_template.erb in sdp-0.2.8
- old
+ new
@@ -40,6 +40,7 @@
<% end %>
<% media_sections.each do |media_section| %>
m=<%= media_section[:media] %> <%= media_section[:port]%> <%= media_section[:protocol]%> <%= media_section[:format]%>
<% if media_section[:attributes] %>
<% media_section[:attributes].each do |attribute| %>
-a=<%= attribute[:attribute] %><% if attribute[:value] %>:<%= attribute[:value] %><% end %><% end %><% end %><% end %>
+a=<%= attribute[:attribute] %><% if attribute[:value] %>:<%= attribute[:value] %>
+<% end %><% end %><% end %><% end %>