

def add_newline_to_br(self):
    for e in self.parser.getElementsByTag(self.top_node, tag='br'):
        e.text = '\\n'

dataset/ETHPy150Open codelucas/newspaper/newspaper/outputformatters.py OutputFormatter.add_newline_to_br/original