Hello,

The rendered html source:

<ul>
  <li>Termname(0) <a href="/taxonomy/term/3/all/feed" class="feed-link"></a></li>
    <ul>
      <li>Subterm (0) <a href="/taxonomy/term/9/all/feed" class="feed-link"></a></li>
    </ul>
</ul>

Right syntax:

<ul>
  <li>Termname(0) <a href="/taxonomy/term/3/all/feed" class="feed-link"></a>
    <ul>
      <li>Subterm (0) <a href="/taxonomy/term/9/all/feed" class="feed-link"></a></li>
    </ul>
  </li>
</ul>

Regards, Paul

Comments

mcdruid’s picture

Status: Active » Closed (duplicate)

I believe these three issues are all the same:

#133090: Fails validation due to incorrectly nested lists.
#231850: site_map fails to nest ul's correctly when displaying taxonomy trees
#299014: Wrong syntax in rendered source (HTML validator error) in dept menupoint

I'm marking the last 2 as duplicates of the first (which is currently marked RTBC), although I've been using the patch I attached to #231850: site_map fails to nest ul's correctly when displaying taxonomy trees for some time, and am happy with it. It's the maintainer's call which patch gets applied, but it would be good to fix this bug one way or another, IMHO.

frjo’s picture

Patch by mcdruid in http://drupal.org/node/231850 in committed to 6-dev.