I suggest that the theme_item_list function in theme.inc be altered to produce more easily read source code. Currently, the output looks something like:

<div class="item-list"><ul><li>content</li><li>content</li></ul></div>

Is there any value in adding "\n" breaks so that the source looks like:

<div class="item-list">
  <ul>
    <li>content</li>
    <li>content</li>
  </ul>
</div>

I do realize that this could be accomplished without altering the distributed code with a function in a custom theme, but thought I'd raise the question.

Comments

greggles’s picture

Version: 4.5.2 » x.y.z
Status: Active » Closed (won't fix)

Seems like it has little value and most themes fix this themselves.

Also, moving to CVS where features should live.

zeta ζ’s picture

Version: x.y.z » 6.x-dev