示例#1
0
 def testInlineCodeContainsTicks(self):
   raw = 'this contains `backticks`'
   self.assertEquals('`this contains \\`backticks\\``',
                     markdown.md_inline_code(raw))
 def testInlineCodeContainsTicks(self):
   raw = 'this contains `backticks`'
   self.assertEquals(
       '`this contains \\`backticks\\``', markdown.md_inline_code(raw))
示例#3
0
 def testInlineCode(self):
   raw = 'devil.utils.markdown_test'
   self.assertEquals('`devil.utils.markdown_test`',
                     markdown.md_inline_code(raw))
 def testInlineCode(self):
   raw = 'devil.utils.markdown_test'
   self.assertEquals(
       '`devil.utils.markdown_test`', markdown.md_inline_code(raw))