line ended with a backslash followed by a newline
Brought to you by:
yermat
* Rtf2Parser.py - line 70.
I had the situation where a line was ended with a
backslash followed by a newline and this was throwing
an RTF exception. It might not be legal RTF, but there
is a great quantity of RTF in our database that looks
that way. I just decided to translant the backslash
following by a newline into a break in HTML.
elif char == '\n': # Added by Hubert Hickman
self.putChar('<br/>')
self.state = plaintext