| # | Line 12 | Line 12 | class Printer(HtmlEasyPrinting): | |
|---|---|---|
| 12 | ||
| 13 | def GetHtmlText(self,text): | |
| 14 | "Simple conversion of text. Use a more powerful version" | |
| 15 | < | print text |
| 15 | > | print(text) |
| 16 | html_text = text.replace('\n\n','<P>') | |
| 17 | html_text = text.replace('\n', '<BR>') | |
| 18 | return html_text | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |