<%= maketext("Headers") %>
% for my $headerType (@$headers) {
diff --git a/templates/ContentGenerator/Instructor/Scoring.html.ep b/templates/ContentGenerator/Instructor/Scoring.html.ep
index d9c262f136..392b36eb34 100644
--- a/templates/ContentGenerator/Instructor/Scoring.html.ep
+++ b/templates/ContentGenerator/Instructor/Scoring.html.ep
@@ -112,7 +112,7 @@
<%= link_to $c->{scoringFileName} =>
$c->systemLink(url_for('instructor_scoring_download'), params => { getFile => $c->{scoringFileName} }),
class => 'font-monospace' =%>
-
+
<%== readFile("$scoringDir/$c->{scoringFileName}") =%>\
% }
diff --git a/templates/ContentGenerator/Instructor/SendMail/main_form.html.ep b/templates/ContentGenerator/Instructor/SendMail/main_form.html.ep
index 6fec5ed234..8204445628 100644
--- a/templates/ContentGenerator/Instructor/SendMail/main_form.html.ep
+++ b/templates/ContentGenerator/Instructor/SendMail/main_form.html.ep
@@ -212,7 +212,7 @@
% }
% }
% if (@rows) {
- <% =%>\
+ <% =%>\
<%== join('', ' ', $c->data_format(1 .. $cols)) =%>
<% =%>\
<%== join('
', map { join('', ' ', $c->data_format2(@$_)) } @rows) =%>\
diff --git a/templates/ContentGenerator/Problem.html.ep b/templates/ContentGenerator/Problem.html.ep
index 48f1e5ab9f..c3b95f068e 100644
--- a/templates/ContentGenerator/Problem.html.ep
+++ b/templates/ContentGenerator/Problem.html.ep
@@ -88,7 +88,7 @@
% if ($c->{pg}{render_fail}) {
-
<%= maketext('PG question failed to render') %>
+
<%= maketext('PG question failed to render') %>
<%= maketext('Processing of this PG problem was not completed. Probably because of a '
. 'syntax error. The translator died prematurely and no PG warning messages were transmitted.'
diff --git a/templates/exception_default.html.ep b/templates/exception_default.html.ep
index 5fd866ada0..7b691e5e17 100644
--- a/templates/exception_default.html.ep
+++ b/templates/exception_default.html.ep
@@ -9,7 +9,7 @@
%
-
+
WeBWorK error
An error occurred while processing your request.
@@ -21,7 +21,7 @@
, including all of the following information as well as what you were doing when the error occurred.
Error record identifier
- <%= $uuid =%>
+ <%= $uuid =%>
% if (my $warnings = stash 'warnings') {
Warning messages
@@ -32,24 +32,24 @@
% }
% if (my $exception = stash 'exception') {
Error messages
- <%= $exception->message =%>
+ <%= $exception->message =%>
Context
% for (@{ $exception->lines_before }) {
-
-
<%= $_->[0] %>: <%= $_->[1] %>
+ <%= $_->[0] %>: <%= $_->[1] %>
% }
% if (defined $exception->line->[1]) {
-
-
<% =%>\
+ <% =%>\
<%= $exception->line->[0] %>: <%= $exception->line->[1] %><% =%>\
% }
% for (@{$exception->lines_after}) {
-
-
<%= $_->[0] %>: <%= $_->[1] %>
+ <%= $_->[0] %>: <%= $_->[1] %>
% }
@@ -66,35 +66,35 @@
Request information
The HTTP request information is included in the following table.
-
-
+
+
HTTP request information
- | Item |
- Data |
+ Item |
+ Data |
- | Method |
- <%= $c->req->method %> |
+ Method |
+ <%= $c->req->method %> |
- | URI |
-
+ | URI |
+
<%= $c->req->url->to_abs->to_string %>
|
- | HTTP Headers |
-
-
+ | HTTP Headers |
+
+
-
-
+
+
% my %headers = %{ $c->req->headers->to_hash };
% if (defined($headers{'sec-ch-ua'})) {
@@ -105,10 +105,10 @@
% }
% for (keys %headers) {
- |
+ |
<%= $_ %>
|
-
+ |
<%= $headers{$_} %>
|
@@ -120,7 +120,7 @@
Time generated:
- <%= $time %>
+ <%= $time %>
| |