Hi, could the <p> be removed from <li>? <li> is a block element and does 
not need extra <p>. If something, why not put a neutral <div> in it? Thanks.


On Tuesday, September 9, 2014 1:26:27 AM UTC+2, Lex Trotman wrote:
>
> On 9 September 2014 08:57, Ondra Žižka <[email protected] <javascript:>> 
> wrote: 
> > Hi, 
> > 
> > is there any way to prevent asciidoc put <p> to each <li>? Makes the 
> list 
> > tall and breaks the whole page layout. 
> > 
> > * foo 
> > * bar 
> > 
> > turns into 
> > 
> > <li><p>foo</p></li> 
> > <li><p>bar</p></li> 
> > 
> > Note that I can't touch CSS. 
>
> CSS is the right way to do it, styling should not be manipulated by 
> the HTML content.  Asciidoc CSS currently removes the top-margin for 
> paras inside lists, you can also remove the bottom-margin. 
>
> You can always have custom CSS added to the HTML generated by Asciidoc 
> to modify just that setting, see the stylesheet attribute in 
> http://www.methods.co.nz/asciidoc/userguide.html#X88. 
>
> Cheers 
> Lex 
>
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "asciidoc" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to [email protected] 
> <javascript:>. 
> > Visit this group at http://groups.google.com/group/asciidoc. 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to