DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion WebHelp: Extra line break added before lists

  • jlm05

    WebHelp: Extra line break added before lists

    Participants 0
    Replies 1
    Last Activity 10 years, 9 months ago

    I'm starting to experiment with the WebHelp output.

    I've noticed that for lists, the output adds an extra
    before the list.

    So it ends up something like:


    • First list item.
    • Is there a way to get this to stop happening? With the extra line break there is too much of a gap between the paragraph and the list.


    Derek Read

    Reply to: WebHelp: Extra line break added before lists

    There are two options I can think of:

    1) Create some CSS that suppresses elements you do not want to see (using the CSS property display:none), or changes their styling (height, margin, padding, etc) some other way.

    2) Modify the XSLT that generates the XHTML. I believe the main file that does most of the work is here:

    You will need to find the template that builds the

      to modify it. Most likely it will be in something like
      where the “…” is trying to match on a class attribute of “topic/ul”. Hopefully somewhere in there you can spot a


  • You must be logged in to reply to this topic.

Lost Your Password?