'Determine if the <p> tags around paragraph can be omitted.'

def should_be_compact_paragraph(self, node):

    if isinstance(node.parent, addnodes.desc_content):
        return False
    if isinstance(node.parent, addnodes.versionmodified):
        return False
    return BaseTranslator.should_be_compact_paragraph(self, node)
