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 |
Jump to:
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
Seems like it has little value and most themes fix this themselves.
Also, moving to CVS where features should live.
#2
Fixed!
See;- http://drupal.org/node/210479