39 Commits

Author SHA1 Message Date
Josh Bruce
706e07dbad
Merge pull request #1304 from UziTech/loose-lists
loose lists
2018-07-14 18:33:29 -04:00
Steven
c7d487e452
Merge pull request #1258 from tomtheisen/gfm-strike
GFM strikethrough compatibility
2018-07-09 12:34:01 -04:00
Steven
51cd03f525
Merge pull request #1305 from Trott/enable-468
enable CommonMark spec 468
2018-07-06 15:46:55 -04:00
Steven
2f86d9439f
Merge pull request #1303 from aduh95/patch-1
add hard line break when backslash at EOL
2018-07-06 15:42:28 -04:00
Steven
485fcae321
Merge pull request #1293 from Trott/trailing-period
fix gfm extended autolinking requiring multiple backpedals
2018-07-05 09:55:57 -04:00
Rich Trott
9c976cda1c enable CommonMark spec 468
A minor adjustment to the href-matching regexp permits CommonMark spec
468 to pass. All other passing specs are unaffected.

The regexp was incorrectly excluding parentheses as valid characters in
a URL.
2018-07-03 11:43:01 -07:00
Tony Brix
a22ef0f4a4 loose lists 2018-07-03 08:23:03 -05:00
Antoine du Hamel
35db4359b1
test: re-activate passing tests 2018-07-03 11:06:44 +02:00
Rich Trott
04e04b10d4 fix issues link references and prototypes
Link with names that clashed with properties inherited from the
Object prototype (such as "constructor") were not expanding. This fixes
this issue.

Before this change, markdown of this form...:

    Link: [constructor][].

    [constructor]: https://example.org/

...resulted in HTML output of this form:

    <p>Link: [constructor][].</p>

With this change, it now renders as expected:

    <p>Link: <a href="https://example.org/">constructor</a>.</p>
2018-06-28 13:41:43 -07:00
Rich Trott
40bf2e6511 squash! more tests 2018-06-26 22:50:15 -07:00
Rich Trott
3eeb0df963 squash! remove unnecessary commented-out code 2018-06-26 22:45:55 -07:00
Rich Trott
a3cddeeae6 fix gfm extended autolinking requiring multiple backpedals
Add a test and fix that trailing punctuation is omitted in link URLs for
markdown like this:

    (See https://www.example.com/fhqwhgads.)

The trailing period and closing parenthesis should not be part of the
link URL.
2018-06-22 13:51:48 -07:00
Steven
05e322c69b
Merge pull request #1262 from UziTech/table-cells
Fix table cells
2018-06-12 11:49:29 -04:00
Tony Brix
9407cef29a fix test with a single escaped pipe 2018-06-11 14:58:30 -05:00
Tony Brix
9de68ccba8 add empty cell test 2018-06-11 08:39:52 -05:00
Tony Brix
96018d3177 add simple tests 2018-06-04 15:07:59 -05:00
Tony Brix
6e81048a94 fix spelling 2018-06-04 14:38:45 -05:00
Remy Rylan
7b1d0be249 Update fenced code blocks to CommonMark standard 2018-05-11 11:12:12 -04:00
Tony Brix
450c33fbef add test 2018-05-09 17:13:00 -05:00
Tony Brix
e0f5edfa01 add failing tests 2018-05-09 16:19:59 -05:00
Tom Theisen
1420eb3435 Strikethrough support for GFM 2018-05-05 08:21:32 -07:00
Tom Theisen
aa73bb6ea7 add space to task regex and disable xhtml for gfm testing 2018-05-03 19:51:31 -07:00
Tom Theisen
7482990131 GFM compliance for tasks 2018-05-02 20:17:13 -07:00
Tom Theisen
be922cecdd GFM table compliance 2018-04-30 20:11:01 -07:00
Tom Theisen
bbdf191931 handle escaped pipes in gfm tables 2018-04-24 21:19:14 -07:00
Josh Bruce
29e2cc6fb7 Run lint 2018-04-15 13:18:51 -04:00
Josh Bruce
06a13ad2f7 Test for #1218 & "marked" spec 2018-04-15 13:08:01 -04:00
Tony Brix
a6c6f0d5a2 update completed table 2018-04-10 10:25:37 -05:00
Tony Brix
539695079d remove passing tests 2018-04-10 10:13:24 -05:00
Tony Brix
4e52c427c6 Merge branch 'master' into pr/1135 2018-04-10 10:10:29 -05:00
Tony Brix
5b8ca09ed8
Merge branch 'master' into test-folders 2018-04-10 09:58:58 -05:00
Tony Brix
d06bf8d64c update completed table 2018-04-10 09:52:50 -05:00
Tony Brix
1d00a7638a remove beforeEach 2018-04-10 09:34:26 -05:00
Tony Brix
69f663e034 remove when #1212 is merged 2018-04-10 09:34:26 -05:00
Tony Brix
667598bc8e remove passing tests 2018-04-10 09:34:26 -05:00
Tony Brix
db71a7f3b5 move cm tests 2018-04-10 09:34:26 -05:00
Josh Bruce
416e098559 Use directory for tests 2018-04-10 09:17:32 -04:00
Tony Brix
9c6c13f3d3 fix tests 2018-03-04 00:51:00 -06:00
Tony Brix
79325aa9e1 add tests 2018-03-04 00:47:02 -06:00