Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I am creating a website and I'm using the mini-calendar block to display in my right column. The problem is that de table-header is parsed incorrectly. The parsed code is this:
<div class="content">
<div class='view view-calendar'>
<div class='view-content view-content-calendar'>
<div class="calendar-calendar">
<table>
<thead>
<tr>
<th class="prev"><span class="prev"><a href="/drupal/node?mini=kalender/2007/11/all&" class="active">« </a></span></th>
<th class="heading" colspan="5"><a href="/drupal/kalender/2007/12">Dec 2007</a></th>
<th class="next"><span class="next"><a href="/drupal/node?mini=kalender/2008/1/all&" class="active"> »</a></span></th>
</tr>
</thead>
<tbody> </tbody>
</table>
</div>
and the validator gives an error on the
part.
My guess is that an empty tbody tag is not allowed, so would it be possible to remove this, or to parse the entire block in one table tag instead of two?
Comments
Comment #1
mrVazil CreditAttribution: mrVazil commentedand the validator gives an error on the
<tbody></tbody>
part is what I meant, forgot the code tagsComment #2
ardi1983 CreditAttribution: ardi1983 commentedI have the same problem did you resolve it?
Comment #3
KarenS CreditAttribution: KarenS commentedThis should be fixed in the 5.2 version, which is not quite ready for an official release. You can see that release if you look for 'other releases' on the project page. Try it in a test environment, or be prepared to update it as bugs are found and fixed.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #5
francoud CreditAttribution: francoud commentedThere is a patch to includes/theme.inc that solved that problem for me.
Patch to drupal 5-* --> http://drupal.org/files/issues/theme_inc_tbody.patch
Documented here: --> http://drupal.org/node/171461