I'm creating a PowerPoint with Python pptx and my query result string contains the html '<br><br>' and I'm trying to replace it with '\n' like:
TDsFirst = "\n" + self.TxtStringFromSQLserver.replace('<br><br>', '\n')
TDPs = TDPsFirst.replace('<br>', '\n')
TipDPsText_run.text = TDPs
This results in the lines ending with '_x000D_'
What am I doing wrong? How can I convert the '<br>' to returns?