From dda33114ad36e2b1ca4d526f71787ba3414b9da7 Mon Sep 17 00:00:00 2001 From: Isaac Muse Date: Wed, 11 Jan 2017 09:19:06 -0700 Subject: 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) --- tests/extensions/extra/tables.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/extensions/extra/tables.txt') 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 +------- | ------ +`` `\`` | `\` -- cgit v1.2.3