Hi,

it seems my last post on this got somehow lost (I got a msg that it is
to be "reviewed"; it shows up in the topic view (of the topic where I
followed up), but not in its thread view).  So I'm trying again by
email now.

It seems there is a kind-of problem with sub-lists in non-compact lists.

Consider the following rest snippet:

<rst>
This renders correct:

*   item 1

    -   subitem 1.1
    -   subitem 1.2

*   item 2

This not:

*   item 1

    -   subitem 1.1
    -   subitem 1.2

*   item 2

    second paragraph
</rst>

Notice that:
-  The first list (ul) does not contain items with multiple
paragraphs, so it will be rendered compact.
-  The second list contains in the second item two paragraphs, so the
full list will be rendered "full-fledged", with paragraph <p> tags.
-  The first item of the second list consists of some text, followed
by an unordered list.

This renders in the browser visually something like this (I just focus
on the spaces between subsequent lines):

<browser>
This renders correct:

*   item 1
    -   subitem 1.1
    -   subitem 1.2
*   item 2

This not:

*   item 1

    -   subitem 1.1
    -   subitem 1.2
*   item 2

    second paragraph
</browser>

Notice that:
-  The first list is rendered compact and apprears compact and without
any space.  This is as intended and correct.
-  The second list should contain spaces between all paragraphs, but
the space between the sublist and the following item of the top-level
list is missing.

It appears by inspection of the html source code, that indeed the
sublist is not contained in a <p> tag.  This appears like a mistake to
me.  Because it should be a paragraph, since it is an entity on its
own to be rendered such.  It also generates a rather wrong-looking
visual impression of the rendered html output.

I don't know it this issue is a general docutils issue or if it can be
handled within Sphinx.  I would appreciate a solution, since I'm
observing this mistake since years now; although I seem to be a rare
case in constructing such lists, it apprears regularly to me.

I don't think the issue is serious, though.

This is with Sphinx 1.1.2.

Friedrich

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to sphinx-dev@googlegroups.com.
To unsubscribe from this group, send email to 
sphinx-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to