templates/html/layout-xhtml1.html.erb in review-5.0.0 vs templates/html/layout-xhtml1.html.erb in review-5.1.0

- old
+ new

@@ -2,9 +2,15 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="<%= @language %>"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <meta http-equiv="Content-Style-Type" content="text/css"/> +<% if @javascripts.present? %> +<% @javascripts.each do |js| %> + <%= js %> + +<% end %> +<% end %> <% if @stylesheets.present? %> <% @stylesheets.each do |style| %> <link rel="stylesheet" type="text/css" href="<%= style %>" /> <% end %> <% end%>