Skip to content

Fix some HTML validation issues.#3078

Merged
somiaj merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:html-validation-issues
Jul 21, 2026
Merged

Fix some HTML validation issues.#3078
somiaj merged 1 commit into
openwebwork:WeBWorK-2.21from
drgrice1:html-validation-issues

Conversation

@drgrice1

@drgrice1 drgrice1 commented Jul 19, 2026

Copy link
Copy Markdown
Member
  • templates/ContentGenerator/Grades/problem_table.html.ep: On line 40 a th is closed with a td.
  • templates/HelpFiles/InstructorAchievementList.html.ep: On line 76 a dt tag is closed with a td.
  • templates/ContentGenerator/Options.html.ep: On line 170 a legend is closed with a fieldset.
  • templates/HelpFiles/InstructorScoring.html.ep: Starting at line 18 there is a dl nested inside a p which is invalid HTML. So end the p tag before the dl is started.
  • templates/ContentGenerator/Instructor/Scoring.html.ep: The ending dl tag on line 96 should not be inside the for loop. This results in extraneous dl closings.
  • templates/ContentGenerator/Base/set_status.html.ep: A p tag is incorrectly created using a string instead of a proper tag on line 11.
  • templates/ContentGenerator/ProblemSet.html.ep: A p tag is created in a bad way on line 44.
  • templates/ContentGenerator/Instructor/ProblemSetList/set_list_row.html.ep:
    A tr tag is started on line 16 that is never ended. It should be
    ended at the end of the file.

The last two are not strictly HTML validation issues, and do work, but they are not done in a good way.

- `templates/ContentGenerator/Grades/problem_table.html.ep`: On line 40
  a `th` is closed with a `td`.
- `templates/HelpFiles/InstructorAchievementList.html.ep`: On line 76 a
  `dt` tag is closed with a `td`.
- `templates/ContentGenerator/Options.html.ep`: On line 170 a `legend`
  is closed with a `fieldset`.
- `templates/HelpFiles/InstructorScoring.html.ep`: Starting at line 18
  there is a `dl` nested inside a `p` which is invalid HTML. So end the
  `p` tag before the `dl` is started.
- `templates/ContentGenerator/Instructor/Scoring.html.ep`: The ending
  `dl` tag on line 96 should not be inside the for loop. This results in
   extraneous `dl` closings.
- `templates/ContentGenerator/Base/set_status.html.ep`: A `p` tag is
  incorrectly created using a string instead of a proper tag on line 11.
- `templates/ContentGenerator/ProblemSet.html.ep`: A `p` tag is created
  in a bad way on line 44.
- `templates/ContentGenerator/Instructor/ProblemSetList/set_list_row.html.ep`:
  A `tr` tag is started on line 16 that is never ended.  It should be
  ended at the end of the file.

The last two are not strictly HTML validation issues, and do work, but
they are not done in a good way.
@drgrice1
drgrice1 force-pushed the html-validation-issues branch from b7ec109 to 175ab06 Compare July 19, 2026 23:33
@somiaj
somiaj merged commit f2b6811 into openwebwork:WeBWorK-2.21 Jul 21, 2026
2 checks passed
@drgrice1
drgrice1 deleted the html-validation-issues branch July 21, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants