Show
Ignore:
Timestamp:
09/10/08 08:42:33 (18 months ago)
Author:
JensDiemer
Message:

tinyTextile bugfix: manuell linebreak see ticket:221

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid_project/tests/test_tinyTextile.py

    r1634 r1752  
    238238 
    239239    def testTextile_text2(self): 
    240         self.assertTinyTextile(""" 
     240        self.assertTinyTextile(r""" 
    241241            two lines\\in one line 
    242242        """, """ 
     
    266266            <p>mac 1<br /> 
    267267            mac 2</p> 
     268 
     269        """) 
     270 
     271    def testTextile_backslash(self): 
     272        self.assertTinyTextile(r""" 
     273            a windows path: 
     274            C:\windows\foo\bar\ 
     275            a linux path: 
     276            /usr/bin/python 
     277            a manuel linebreak\\with two backslashes 
     278        """, r""" 
     279            <p>a windows path:<br /> 
     280            C:\windows\foo\bar\<br /> 
     281            a linux path:<br /> 
     282            /usr/bin/python<br /> 
     283            a manuel linebreak<br />with two backslashes</p> 
    268284 
    269285        """) 
     
    646662 
    647663    def testTextile_table1(self): 
    648         self.assertTinyTextile(""" 
     664        self.assertTinyTextile(r""" 
    649665            table 1 start 
    650666            |=Heading Col 1 |=Heading Col 2         |