Skip to content

Commit 8a3ca1c

Browse files
committed
Added some <p></p> tags...
1 parent 400e8a1 commit 8a3ca1c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

htdocs/js/PGProblemEditor/pgproblemeditor.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -516,11 +516,11 @@
516516
const container = document.createElement('div');
517517
container.classList.add('alert', 'alert-danger', 'mx-2');
518518
container.innerHTML =
519-
'Warning!! This problem uses the following deprecated macros:' +
519+
'<p>Warning!! This problem uses the following deprecated macros:</p>' +
520520
'<ul class="mb-0">' +
521521
data.deprecated_macros.reduce((acc, item) => `${acc}<li>${item}</li>`, '') +
522-
'</ul>If this is an OPL problem, please report this issue to the OPL. ' +
523-
'If this is a custom problem, please update the problem to use modern macros.';
522+
'</ul><p>If this is an OPL problem, please report this issue to the OPL. ' +
523+
'If this is a custom problem, please update the problem to use modern macros.</p>';
524524
iframe.after(container);
525525
}
526526

htdocs/js/RenderProblem/renderproblem.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@
8181
const container = document.createElement('div');
8282
container.classList.add('alert', 'alert-danger');
8383
container.innerHTML =
84-
'Warning!! This problem uses the following deprecated macros:' +
84+
'<p>Warning!! This problem uses the following deprecated macros:</p>' +
8585
'<ul class="mb-0">' +
8686
data.deprecated_macros.reduce((acc, item) => `${acc}<li>${item}</li>`, '') +
87-
'</ul>If this is an OPL problem, please report this issue to the OPL. ' +
88-
'If this is a custom problem, please update the problem to use modern macros.';
87+
'</ul><p>If this is an OPL problem, please report this issue to the OPL. ' +
88+
'If this is a custom problem, please update the problem to use modern macros.</p>';
8989
iframe.after(container);
9090
}
9191
iFrameResize(

0 commit comments

Comments
 (0)