Page 1 of 1

problem with text fields and \n chars

PostPosted: Tue Nov 19, 2013 12:38 pm
by scigghia
Hi all,

i'm working on a aeroo report with text field in the footer.
the text field contain some \n but in the report this become like [f123f312b31354b58cb46094328] :shock:
for now in my parser 'ive coded this :
Code: Select all
def clear_text(self, testo):
   return testo.replace('\n', '. ')


but it only replace \n with space or dot, what can i do to put a CR in the report?
thanks