diff --git a/app/templates/exercise_export/blank_exercise.html.erb b/app/templates/exercise_export/blank_exercise.html.erb index 53466929d..9028139cb 100644 --- a/app/templates/exercise_export/blank_exercise.html.erb +++ b/app/templates/exercise_export/blank_exercise.html.erb @@ -19,7 +19,7 @@
-
+
<% if @exercise_single_ques_count > 0 %> 单选题<%= @exercise_single_ques_count %>题, 共<%= @exercise_single_ques_scores %> @@ -45,7 +45,7 @@ 共<%= @exercise_ques_shixun_scores %>分 <% end %>
-
合计<%= @exercise_ques_count %>题, +
合计<%= @exercise_ques_count %>题, 共<%= @exercise_ques_scores %>
diff --git a/config/initializers/pdfkit.rb b/config/initializers/pdfkit.rb index bb562f473..36ff30963 100644 --- a/config/initializers/pdfkit.rb +++ b/config/initializers/pdfkit.rb @@ -6,9 +6,9 @@ PDFKit.configure do |config| dpi: 300, debug_javascript: true, javascript_delay: 500, - quiet: false - # stop_slow_scripts:false, - # no_stop_slow_scripts: true + # quiet: false + stop_slow_scripts:false, + no_stop_slow_scripts: true } end