'End Paragraph'

def e_text_p(self, tag, attrs):

    specialtag = 'p'
    c = attrs.get((TEXTNS, 'style-name'), None)
    if c:
        c = c.replace('.', '_')
        specialtag = special_styles.get(('P-' + c))
        if (specialtag is None):
            specialtag = 'p'
    self.writedata()
    self.closetag(specialtag)
    self.purgedata()
