lib/sdp/session_template.erb in sdp-0.2.6 vs lib/sdp/session_template.erb in sdp-0.2.7

- old
+ new

@@ -32,10 +32,12 @@ <% end %> <% if encryption_method %> k=<%= encryption_method %><% if encryption_key %>:<%= encryption_key %><% end %> <% end %> <% unless attributes.empty? %> -a=<% attributes.each do |a| %><%= a[:attribute] %><% if a[:value] %>:<%= a[:value] %><% end %><% end %> +<% attributes.each do |a| %> +a=<%= a[:attribute] %><% if a[:value] %>:<%= a[:value] %><% end %> +<% end %> <% 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| %>