Sorry,  I will try to give concrete examples from next time. Anyway, I tested the following two cases with default options.

Case 1:
-------------

* testing bullet lists 1

  - test 2nd level bullet lists.
 
* testing bullet lists 2

  - test 2nd level bullet lists 1
  - test 2nd level bullet lists 2.
 
* testing bullet lists 3

Result: compact lists

Case 2:
-------------

* testing bullet lists 1

  - test 2nd level bullet lists.
 
* testing bullet lists 2

   - test 2nd level bullet lists 1
   - test 2nd level bullet lists 2.
 
* testing bullet lists 3

Result: non-compact lists.

The difference is the extra indentation of second level bullet list. Even running with "--compact-lists" in second case will not generate compact list but atleast, I know the expected behaviour now.

Thanks,
Raghu.

On 4/21/06, David Goodger <goodger@python.org> wrote:
On 4/21/06, Raghuram Devarakonda <draghuram@gmail.com> wrote:
> I have bullet list something like
>
> * line1
> * line2
> * line3

"Something like" is not very useful. Actual examples of the different
behaviours would be useful.

> The generated HTML for this list sometime has these lines separated with a
> blank line and sometimes not. I am not able to find any pattern, though. Any
> ideas what might be contributing to this?

It's probably because of list items containing multiple paragraphs.
The behaviour can be affected by the --compact-lists and
--no-compact-lists options:

--compact-lists         Remove extra vertical whitespace between items of
                        "simple" bullet lists and enumerated lists.  Default:
                        enabled.
--no-compact-lists      Disable compact simple bullet and enumerated lists.

--
David Goodger < http://python.net/~goodger>