ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/ns_dev/Python/NinoCode/Tool_Box/HTML_Printer.py
(Generate patch)

Comparing Python/NinoCode/Tool_Box/HTML_Printer.py (file contents):
Revision 8 by ninoborges, Sat May 5 04:21:19 2012 UTC vs.
Revision 744 by nino.borges, Tue Apr 13 21:40:41 2021 UTC

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)