Update of /cvsroot/happydoc/HappyDoc/happydoclib/docstring
In directory usw-pr-cvs1:/tmp/cvs-serv23493/happydoclib/docstring
Modified Files:
docstring_StructuredText.py
Log Message:
Add a test for accented characters in ST patterns.
Index: docstring_StructuredText.py
===================================================================
RCS file: /cvsroot/happydoc/HappyDoc/happydoclib/docstring/docstring_StructuredText.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** docstring_StructuredText.py 25 Aug 2002 14:40:58 -0000 1.6
--- docstring_StructuredText.py 25 Aug 2002 18:29:40 -0000 1.7
***************
*** 562,565 ****
--- 562,581 ----
return
+ def testBug594026(self):
+ import string
+ print string.letters
+ input_text = '*marié* or **marié**'
+ expected_text = '''
+ <p><em>marié</em> or <strong>marié</strong></p>
+ '''
+ self._testConversion(input_text,
+ 'StructuredText',
+ 'html',
+ expected_text,
+ 'StructuredText-to-HTML with accented characters failed.',
+ )
+ return
+
+
def testBug471981(self):
input_text1 = """ any text
|