Skip to content

Commit

Permalink
Bug 3096742 - added missing /tbody tags
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Oct 28, 2010
1 parent 0a0003a commit da1a2d3
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/net/sourceforge/schemaspy/view/HtmlColumnsPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ private String getTH(ColumnInfo selectedColumn, String columnName, String title,

@Override
protected void writeFooter(LineWriter html) throws IOException {
html.writeln("</tbody>");
html.writeln("</table>");
html.writeln("</div>");
super.writeFooter(html);
Expand Down
1 change: 1 addition & 0 deletions src/net/sourceforge/schemaspy/view/HtmlFormatter.java
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ protected void writeLegend(boolean tableDetails, boolean diagramDetails, LineWri
out.writeln(" <tr class='impliedRelationship'><td class='legendDetail'>Dashed lines show implied relationships</td></tr>");
out.writeln(" <tr><td class='legendDetail'>&lt; <em>n</em> &gt; number of related tables</td></tr>");
}
out.writeln(" </tbody>");
out.writeln(" </table>");
out.writeln(" </td></tr>");
out.writeln(" </table>");
Expand Down
1 change: 1 addition & 0 deletions src/net/sourceforge/schemaspy/view/HtmlMainIndexPage.java
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ protected void writeFooter(int numTables, int numTableCols, int numViews, int nu
html.writeln(" <td class='detail'>&nbsp;</td>");
html.writeln(" <td class='comment detail'>&nbsp;</td>");
html.writeln(" </tr>");
html.writeln("</tbody>");
html.writeln("</table>");

super.writeFooter(html);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ protected void writeTableOfContents(LineWriter html) throws IOException {
html.writeln("</td></tr></table>");
}

@Override
protected void writeFooter(LineWriter html) throws IOException {
html.writeln("</tbody>");
html.writeln("</table>");
super.writeFooter(html);
}

/**
* Copy / paste from Database, but we can't use Database here...
*
Expand Down
3 changes: 3 additions & 0 deletions src/net/sourceforge/schemaspy/view/HtmlTablePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ public void writeMainTable(Table table, LineWriter out) throws IOException {
for (TableColumn column : table.getColumns()) {
writeColumn(column, null, primaries, indexedColumns, false, showIds, out);
}
out.writeln("</tbody>");
out.writeln("</table>");
}

Expand Down Expand Up @@ -318,6 +319,7 @@ private void writeCheckConstraints(Table table, LineWriter out) throws IOExcepti
out.writeln("</td>");
out.writeln(" </tr>");
}
out.writeln("</tbody>");
out.writeln("</table></div><p>");
}
}
Expand Down Expand Up @@ -403,6 +405,7 @@ private void writeIndexes(Table table, LineWriter out) throws IOException {
}
out.writeln(" </tr>");
}
out.writeln("</tbody>");
out.writeln("</table>");
out.writeln("</div>");
}
Expand Down

0 comments on commit da1a2d3

Please sign in to comment.