DITA and XMetaL Discussion
jlm05 April 19, 2012 at 1:55 pm
WebHelp: Extra line break added before listsApril 19, 2012 at 1:55 pmParticipants 0Replies 1Last 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 April 19, 2012 at 11:27 pm
Reply to: WebHelp: Extra line break added before listsApril 19, 2012 at 11:27 pm
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.