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&amp;" 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&amp;" 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

mrVazil’s picture

and the validator gives an error on the<tbody></tbody> part is what I meant, forgot the code tags

ardi1983’s picture

I have the same problem did you resolve it?

KarenS’s picture

Status: Active » Fixed

This 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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

francoud’s picture

There 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