Skip to content

Closing Tags Extra Tags Scan

Andrew Geng edited this page Aug 3, 2013 · 1 revision

Files which were fixed by deleting an extra closing tag

./403.html:

  • line 20 column 106 - Warning: discarding unexpected </a>

./users/passwd.html:

  • line 32 column 2 - Warning: discarding unexpected </td>
  • line 41 column 2 - Warning: discarding unexpected </td>
  • line 50 column 2 - Warning: discarding unexpected </td>
  • line 59 column 2 - Warning: discarding unexpected </td>

./users/emailrecover.html:

  • line 34 column 2 - Warning: discarding unexpected </td>
  • line 43 column 2 - Warning: discarding unexpected </td>
  • line 52 column 2 - Warning: discarding unexpected </td>

./error.html:

  • line 22 column 106 - Warning: discarding unexpected </a>

./program/newprogram.html:

  • line 107 column 3 - Warning: discarding unexpected </table>

./program/modules/financialaidappmodule/aid_direct.html:

  • line 23 column 1 - Warning: discarding unexpected </div>

/program/modules/schedulingmodule/requests.html:

  • line 8 column 1 - Warning: discarding unexpected </script>
    • This was probably okay.

./program/modules/programprintables/singleschedule_student.html:

  • line 50 column 53 - Warning: discarding unexpected </center>
    • Is fine; nested inside an <h2>.
  • line 81 column 4 - Warning: discarding unexpected <image>
    • Tag doesn't exist.
  • line 88 column 5 - Warning: discarding unexpected </div>
    • Extra </div> inside a <td>.

./program/modules/teacherpreviewmodule/preview.html:

  • line 37 column 9 - Warning: discarding unexpected </td>
  • line 37 column 14 - Warning: discarding unexpected </tr>
    • These were probably okay.

./survey/survey.html:

  • line 129 column 1 - Warning: discarding unexpected </center>
    • Was also probably fine.

Files which were fixed by correcting a tag

./inclusion/program/class_catalog_core.html:

  • line 74 column 12 - Warning: discarding unexpected </span>
    • Closed the span.gradelisting to match the conditionals

./qsd/delete_confirm.html:

  • line 25 column 5 - Warning: discarding unexpected </td>
  • line 29 column 29 - Warning: discarding unexpected </th>
  • line 33 column 28 - Warning: discarding unexpected </th>
    • Turned all ambiguous things into <th>.

./users/userview.html:

  • line 66 column 31 - Warning: discarding unexpected </td>
  • line 66 column 68 - Warning: discarding unexpected </td>
    • Turned a </td> into a <td>. Major shows again inside the table.
  • line 91 column 4 - Warning: discarding unexpected <emph>
  • line 91 column 52 - Warning: discarding unexpected </emph>
    • These are fine. Tag doesn't exist but I don't care.
  • line 137 column 1 - Warning: discarding unexpected </ul>
  • line 146 column 1 - Warning: discarding unexpected </ul>
  • line 155 column 1 - Warning: discarding unexpected </ul>
    • These are fine (for-loop magic).

./program/modules/adminclass/manageclass.html:

  • line 145 column 9 - Warning: discarding unexpected </th>
  • line 175 column 9 - Warning: discarding unexpected </th>
    • Changed preceding <td> to <th>.

./program/modules/volunteermanage/main.html:

  • line 33 column 85 - Warning: discarding unexpected </td>
    • </tr to </tr>. Also enclosed a bare <td> in a <tr>.

./program/modules/commmodule/commpanel_contents.html:

  • line 28 column 89 - Warning: discarding unexpected </label>
    • Should have been </option>.
  • line 124 column 77 - Warning: discarding unexpected </span>
  • line 136 column 77 - Warning: discarding unexpected </span>
    • Deleted extra closing tags.

./program/modules/teacherclassregmodule/class_status.html:

  • line 33 column 39 - Warning: discarding unexpected </th>
    • Changed to </td>

./program/modules/teacherclassregmodule/cannoteditclass.html:

  • line 20 column 1 - Warning: discarding unexpected </p>
    • Changed a <ul> to a </ul>.

./program/modules/nametagmodule/selectoptions.html:

  • line 73 column 1 - Warning: discarding unexpected <labe.>
  • line 73 column 53 - Warning: discarding unexpected </label>

./program/modules/creditcardmodule_cybersource/cardpay.html:

  • line 242 column 1 - Warning: discarding unexpected </td>
    • Its opening tag had self-closed.

./program/modules/onsiteclasslist/status.html:

  • line 112 column 1 - Warning: discarding unexpected </td>
    • Transposed a </td> and a </tr>.

./program/modules/creditcardmodule_firstdata/cardpay.html:

  • line 329 column 237 - Warning: discarding unexpected </tt>
    • Just nesting <div> inside a <tt>.
  • line 336 column 7 - Warning: discarding unexpected </td>
    • Its opening tag had self-closed.

./registration/login_byschool_pickname.html:

  • line 56 column 1 - Warning: discarding unexpected </tbody>
    • Added </thead><tbody>.

./registration/login_by_bday_pickname.html:

  • line 56 column 1 - Warning: discarding unexpected </tbody>
    • Ditto.

./survey/questions/long_answer.html:

  • line 6 column 89 - Warning: discarding unexpected </textarea>
    • Self-closed opening tag.

Files which have only inline/block nesting issues

./users/student_schedule.html:

  • line 69 column 18 - Warning: discarding unexpected </font>

./program/modules/admincore/directory.html:

  • line 70 column 15 - Warning: discarding unexpected </a>
  • line 74 column 15 - Warning: discarding unexpected </a>
  • line 95 column 15 - Warning: discarding unexpected </a>
  • line 99 column 15 - Warning: discarding unexpected </a>
  • line 113 column 15 - Warning: discarding unexpected </a>
  • line 117 column 15 - Warning: discarding unexpected </a>
  • line 123 column 15 - Warning: discarding unexpected </a>
  • line 127 column 15 - Warning: discarding unexpected </a>

./program/modules/onsiteregister/reg_info.html:

  • line 37 column 1 - Error: discarding unexpected </form>

./errors/program/deadline-learn.html:

  • line 20 column 1 - Warning: discarding unexpected </strong>

./errors/program/deadline-teach.html:

  • line 20 column 1 - Warning: discarding unexpected </strong>

./survey/choose_survey.html:

  • line 17 column 81 - Warning: discarding unexpected </font>

Files which are OK because of for-loop magic

./program/modules/nametagmodule/ids.html:

  • line 91 column 9 - Warning: discarding unexpected </tr>

./program/modules/onsiteprintschedules/studentschedule.html:

  • line 43 column 3 - Warning: discarding unexpected </table>

./program/modules/onsiteprintschedules/studentschedules.html:

  • line 40 column 3 - Warning: discarding unexpected </table>
  • line 44 column 1 - Warning: discarding unexpected </table>

./program/modules/programprintables/teacherlabels.html:

  • line 22 column 1 - Warning: discarding unexpected </table>

./program/modules/programprintables/teacherschedule.html:

  • line 37 column 1 - Warning: discarding unexpected </table>

./program/modules/programprintables/studentschedule.html:

  • line 32 column 61 - Warning: discarding unexpected </center>
  • line 45 column 104 - Warning: discarding unexpected </center>
    • These are just inline/block nesting issues
  • line 51 column 3 - Warning: discarding unexpected </table>

Files which I ignored because we don't use them anymore

./program/modules/adminclass/classedit.html:

  • line 218 column 8 - Warning: discarding unexpected </div>

Files which are OK (just that template tags are confusing)

###./program/modules/studentclassregmodule/changeslot.html:

  • line 82 column 1 - Warning: discarding unexpected </tr>

###./program/modules/studentclassregmodule/fillslot.html:

  • line 73 column 1 - Warning: discarding unexpected </tr>

###./program/modules/studentclassregmodule/catalog.html:

  • line 91 column 1 - Warning: discarding unexpected </tr>

./survey/answers.html:

  • line 4 column 21 - Warning: discarding unexpected <question>
  • line 5 column 33 - Warning: discarding unexpected <answer>

Files which are questionable but I didn't want to tackle right now

./program/modules/studentregcore/mainpage.html:

  • line 123 column 5 - Warning: discarding unexpected </center>
    • Incorrect nesting of <center> with <form> tags
    • Leads to nested forms, but the simplest fix (splitting <center>) messes up the layout. Maybe the next simplest would be to split the form tag. How does this interact with the confirmation module? (Do we still use that?) TODO.

./program/modules/programprintables/roomrosters.html:

  • line 35 column 1 - Warning: discarding unexpected </table>
  • line 36 column 1 - Warning: discarding unexpected </td>
  • line 36 column 6 - Warning: discarding unexpected </tr>
  • line 38 column 1 - Warning: discarding unexpected </table>
    • This is probably just for-loop magic but ow.
Clone this wiki locally