aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions/extra/tables.txt
diff options
context:
space:
mode:
authorIsaac Muse <faceless.shop@gmail.com>2017-01-11 09:19:06 -0700
committerWaylan Limberg <waylan.limberg@icloud.com>2017-01-11 11:19:06 -0500
commitdda33114ad36e2b1ca4d526f71787ba3414b9da7 (patch)
treeaa5d31597a69b3ac89fa0ab1119612f4adeede2a /tests/extensions/extra/tables.txt
parentc10cfff946e17be7dedd39540ddad2241b1af292 (diff)
downloadmarkdown-dda33114ad36e2b1ca4d526f71787ba3414b9da7.tar.gz
markdown-dda33114ad36e2b1ca4d526f71787ba3414b9da7.tar.bz2
markdown-dda33114ad36e2b1ca4d526f71787ba3414b9da7.zip
Better handling of backticks in tables (#524)
At some point the logic of counting backticks and determining if they are odd or even was used to parse a row's text into cells. Unfortunately this approach broke expected code parsing logic in a table. We essentially traded one bug for another. This fixes table backtick handling and restores sane backtick logic while preserving existing fixes. (issue #449)
Diffstat (limited to 'tests/extensions/extra/tables.txt')
-rw-r--r--tests/extensions/extra/tables.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/extensions/extra/tables.txt b/tests/extensions/extra/tables.txt
index c843918..a9677ba 100644
--- a/tests/extensions/extra/tables.txt
+++ b/tests/extensions/extra/tables.txt
@@ -80,3 +80,13 @@ Lists are not tables
- this | should | not
- be | a | table
+
+Add tests for issue #449
+
+Odd backticks | Even backticks
+------------ | -------------
+``[!\"\#$%&'()*+,\-./:;<=>?@\[\\\]^_`{|}~]`` | ``[!\"\#$%&'()*+,\-./:;<=>?@\[\\\]^`_`{|}~]``
+
+Escapes | More Escapes
+------- | ------
+`` `\`` | `\`