ClueGun 0.2 by Agendaless Consulting (based on ClueBin by ServerZen Software).
Main page
Paste Entry
Author: Malthe
Date: 11/17/08 at 09:11:04
Format: Text only
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
            for element in self.root.getiterator():
                try:
                    tag = element.tag.split('}')[-1]
                except AttributeError:
                    continue

                if element.text is None and tag not in (
                    'area', 'base', 'basefont', 'br',
                    'hr', 'input', 'img', 'link', 'meta'):
                    element.text = ""
Previous Pastes