
* Modify rule S1102: add exception for simple tables * Modify rule S1102: address review comment
33 lines
641 B
Plaintext
33 lines
641 B
Plaintext
== Exceptions
|
|
|
|
This rule is not applied in case of simple tables.
|
|
|
|
Tables are considered as such when the headers are either all in the first row, or all in the first column. The two conditions must not apply together.
|
|
|
|
Simple table example:
|
|
|
|
----
|
|
<table border="1">
|
|
<caption>Simple Table 1</caption>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Surname</th>
|
|
</tr>
|
|
<tr>
|
|
<td>John</td>
|
|
<td>Doe</td>
|
|
</tr>
|
|
</table>
|
|
<table border="1">
|
|
<caption>Simple Table 2</caption>
|
|
<tr>
|
|
<th>Name</th>
|
|
<td>John</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Surname</th>
|
|
<td>Doe</td>
|
|
</tr>
|
|
</table>
|
|
----
|