From fb65ed196df567ab71d63029e7ab36002b12112e Mon Sep 17 00:00:00 2001 From: Mustafa Haddara Date: Thu, 22 Oct 2015 10:33:54 -0400 Subject: Fixed handling of table cell split --- tests/extensions/extra/tables.html | 67 ++++++++++++++++++++++++++++++++++++++ tests/extensions/extra/tables.txt | 18 +++++++++- tests/extensions/test.cfg | 2 +- 3 files changed, 85 insertions(+), 2 deletions(-) (limited to 'tests/extensions') diff --git a/tests/extensions/extra/tables.html b/tests/extensions/extra/tables.html index 85a998d..91337e5 100644 --- a/tests/extensions/extra/tables.html +++ b/tests/extensions/extra/tables.html @@ -168,4 +168,71 @@ Content Cell | Content Cell + +

More inline code block tests

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Column 1Column 2Column 3
word 1word 2word 3
word 1word 2word 3
word 1`word 2word 3
word 1`word 2word 3
word 1word |2word 3
wordssome | codemore words
wordssome | codemore words
wordssome | codemore words
wordssome ` | ` codemore words
wordssome ` | ` codemore words
wordssome ` | ` codemore words
\ No newline at end of file diff --git a/tests/extensions/extra/tables.txt b/tests/extensions/extra/tables.txt index 8acc3c6..1602d1f 100644 --- a/tests/extensions/extra/tables.txt +++ b/tests/extensions/extra/tables.txt @@ -52,4 +52,20 @@ Four spaces is a code block: Content Cell | Content Cell | First Header | Second Header | -| ------------ | ------------- | \ No newline at end of file +| ------------ | ------------- | + +More inline code block tests + +Column 1 | Column 2 | Column 3 +---------|----------|--------- +word 1 | word 2 | word 3 +word 1 | `word 2` | word 3 +word 1 | \`word 2 | word 3 +word 1 | `word 2 | word 3 +word 1 | `word |2` | word 3 +words |`` some | code `` | more words +words |``` some | code ``` | more words +words |```` some | code ```` | more words +words |`` some ` | ` code `` | more words +words |``` some ` | ` code ``` | more words +words |```` some ` | ` code ```` | more words \ No newline at end of file diff --git a/tests/extensions/test.cfg b/tests/extensions/test.cfg index 7e27b29..ce66cfc 100644 --- a/tests/extensions/test.cfg +++ b/tests/extensions/test.cfg @@ -70,4 +70,4 @@ smarty: - markdown.extensions.smarty extension_configs: markdown.extensions.smarty: - smart_angled_quotes: True + smart_angled_quotes: True \ No newline at end of file -- cgit v1.2.3