diff options
Diffstat (limited to 'doc/gen_hangulkeyboards.py')
-rwxr-xr-x | doc/gen_hangulkeyboards.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/gen_hangulkeyboards.py b/doc/gen_hangulkeyboards.py index 701b0cb..b6cdfa0 100755 --- a/doc/gen_hangulkeyboards.py +++ b/doc/gen_hangulkeyboards.py @@ -177,6 +177,10 @@ def print_cell_with_table(table, upper_index, lower_index, span = 4): upper = table[upper_index]; lower = table[lower_index]; + if upper == 0 and lower == 0: + print '<td class="graykeycell" colspan="%d">%s<br/>%s</td>' % (span, to_html_entity(upper_index), to_html_entity(lower_index)) + return + if upper == lower: upper = ord(' ') |