diff options
| author | Mustafa Haddara <mhaddara@venasolutions.com> | 2015-10-22 10:33:54 -0400 |
|---|---|---|
| committer | Waylan Limberg <waylan.limberg@icloud.com> | 2015-12-29 17:56:52 -0500 |
| commit | cf6187de64ca461e9f5440465cd5b442a5a3ac10 (patch) | |
| tree | ee783f991cc45527ae454f7dd24d549548b0c22b /tests | |
| parent | 33774e77db6be8b699a96de529316167bf94d7ff (diff) | |
| download | python-markdown-cf6187de64ca461e9f5440465cd5b442a5a3ac10.tar.gz | |
Fixed handling of table cell split
Conflicts:
tests/extensions/test.cfg
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/extensions/extra/tables.html | 67 | ||||
| -rw-r--r-- | tests/extensions/extra/tables.txt | 18 | ||||
| -rw-r--r-- | tests/extensions/test.cfg | 8 |
3 files changed, 84 insertions, 9 deletions
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 </tr> </thead> <tbody></tbody> +</table> +<p>More inline code block tests</p> +<table> +<thead> +<tr> +<th>Column 1</th> +<th>Column 2</th> +<th>Column 3</th> +</tr> +</thead> +<tbody> +<tr> +<td>word 1</td> +<td>word 2</td> +<td>word 3</td> +</tr> +<tr> +<td>word 1</td> +<td><code>word 2</code></td> +<td>word 3</td> +</tr> +<tr> +<td>word 1</td> +<td>`word 2</td> +<td>word 3</td> +</tr> +<tr> +<td>word 1</td> +<td>`word 2</td> +<td>word 3</td> +</tr> +<tr> +<td>word 1</td> +<td><code>word |2</code></td> +<td>word 3</td> +</tr> +<tr> +<td>words</td> +<td><code>some | code</code></td> +<td>more words</td> +</tr> +<tr> +<td>words</td> +<td><code>some | code</code></td> +<td>more words</td> +</tr> +<tr> +<td>words</td> +<td><code>some | code</code></td> +<td>more words</td> +</tr> +<tr> +<td>words</td> +<td><code>some ` | ` code</code></td> +<td>more words</td> +</tr> +<tr> +<td>words</td> +<td><code>some ` | ` code</code></td> +<td>more words</td> +</tr> +<tr> +<td>words</td> +<td><code>some ` | ` code</code></td> +<td>more words</td> +</tr> +</tbody> </table>
\ 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 2f88a50..5fa1d00 100644 --- a/tests/extensions/test.cfg +++ b/tests/extensions/test.cfg @@ -71,11 +71,3 @@ smarty: extension_configs: smarty: smart_angled_quotes: True - -legacy_attrs: - extensions: - - legacy_attrs - -legacy_em: - extensions: - - legacy_em |
