64 |
64 |
65 def decodedNewLines(self, text): |
65 def decodedNewLines(self, text): |
66 """ |
66 """ |
67 Public method to decode newlines and paragraph breaks. |
67 Public method to decode newlines and paragraph breaks. |
68 |
68 |
69 @param text text to decode (string or QString) |
69 @param text text to decode (string) |
70 """ |
70 """ |
71 return text.replace(self.NEWPARA, "\n\n").replace(self.NEWLINE, "\n") |
71 return text.replace(self.NEWPARA, "\n\n").replace(self.NEWLINE, "\n") |
72 |
72 |
73 def startDocument(self): |
73 def startDocument(self): |
74 """ |
74 """ |