PLA-797 remove empty paragraphs
PLA-797 Add special case for div containing sections