https://bugs.documentfoundation.org/show_bug.cgi?id=93320

--- Comment #12 from Buovjaga <[email protected]> ---
(In reply to Buovjaga from comment #11)
> The boolean bPara there is meant to tell, if "the current token is <P>". The
> conditional statement starts with !bPara, but is followed by an "or", which
> ruins it. If I change it to an "and" like this, the paragraphs are not
> outputted within list items:
> if( !bPara &&
>     ((!rInfo.bInNumberBulletList && !rWrt.m_nDefListLvl) ||
>     (rInfo.bInNumberBulletList && !bNumbered) ||
>     (!rWrt.m_bCfgOutStyles &&
>       (bHasParSpace || bXhtmlBlockQuote || pAdjItem ||
>       (eLang != LANGUAGE_DONTKNOW && eLang != rWrt.m_eLang))) ||
>     nDir != rWrt.m_nDirection ||
>     rWrt.m_bCfgOutStyles) )
> 
> A side-effect is that no newline char is inserted after closing tags:
> <ul>
>   <li>Bullet 1</li><li>
>   Bullet 2</li><li>
>   Bullet 3</li></ul>

Eh, a bigger side-effect is that no <p> element is outputted ever :)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to