html output of default item_list function

barneson - January 19, 2005 - 17:18
Project:Drupal
Version:6.x-dev
Component:theme system
Category:feature request
Priority:minor
Assigned:Unassigned
Status:won't fix
Description

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.

#1

greggles - August 7, 2006 - 19:49
Version:4.5.2» x.y.z
Status:active» won't fix

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

Also, moving to CVS where features should live.

#2

zeta ζ - May 10, 2008 - 02:25
Version:x.y.z» 6.x-dev

Fixed!

See;- http://drupal.org/node/210479

 
 

Drupal is a registered trademark of Dries Buytaert.