90 Commits

Author SHA1 Message Date
Josh Bruce
67b91cf122
Merge pull request #1464 from UziTech/nested-blockquotes
Nested blockquotes
2019-05-03 15:09:31 -07:00
jocs
be099c4fab fix: failed commonmark examples 57 and 40 2019-04-17 22:48:11 +08:00
Tony Brix
947e417bac examples as ints 2019-04-12 15:30:33 -05:00
Tony Brix
0620845bf0 allow redos spec only 2019-04-12 11:33:41 -05:00
Tony Brix
8cc733d26b update gfm specs to 0.29 2019-04-12 10:31:44 -05:00
Tony Brix
d78c66e4fe add getSpecs.js for gfm 2019-04-12 10:29:36 -05:00
Josh Bruce
6d91c4f1e0
Merge pull request #1465 from UziTech/get-specs
commonmark 0.29
2019-04-11 10:17:14 -05:00
Tony Brix
7c08737082 use node-fetch 2019-04-09 14:35:02 -05:00
Tony Brix
b636a97ecd update commonmark specs to 0.29 2019-04-09 13:21:44 -05:00
Tony Brix
39dc89e987 get current commonmark specs 2019-04-09 13:21:20 -05:00
Tony Brix
0ac3c48da0 show pass percent 2019-04-09 13:19:50 -05:00
Anders Kaseorg
be27472a81 Improve worst-case performance of inline.text regex
The old regex may take quadratic time to scan for potential line
breaks or email addresses starting at every point.  Fix it to avoid
scanning from points that would have been in the middle of a previous
scan.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2019-04-04 11:13:51 -07:00
Tony Brix
47607728db fix tests 2019-03-12 09:34:51 -05:00
Tony Brix
fb9a71ccf1 use arrow functions 2019-03-12 09:32:45 -05:00
Tony Brix
895d3ea1ed update gfm and commonmark tests 2019-03-12 09:32:44 -05:00
Tony Brix
973b000601 move marked.json to /new files 2019-03-12 09:32:44 -05:00
Tony Brix
5f2f087418 add run-spec 2019-03-12 09:23:11 -05:00
Tony Brix
f8679c97c2
Merge pull request #1439 from UziTech/new-line-after-table
New line after table
2019-03-12 09:17:11 -05:00
x13machine
4dacb50e57 fix test failure 2 2019-03-11 15:02:13 -05:00
Tony Brix
11d8f6568b
Merge branch 'master' into new-line-after-table 2019-03-08 11:11:27 -06:00
Tony Brix
9c26b615d7 add tests 2019-03-07 16:21:14 -06:00
Tony Brix
3a03b1d142 add link test 2019-03-05 20:43:29 -06:00
Tony Brix
7e1088fe2a
Merge pull request #1400 from mccraveiro/strong-tag
Fix strong tag
2018-12-20 16:37:49 -06:00
Steven
53d7ba0304
Merge pull request #1397 from mccraveiro/escape-tag
Fix tag escaping
2018-12-20 16:39:57 -05:00
Steven
e5e5b097a6
Merge pull request #1395 from mccraveiro/empty-list
Fix empty list items
2018-12-20 16:26:39 -05:00
Mateus Craveiro
d010745cf1 Fix strong tag when the same character is the content 2018-12-20 16:02:19 -02:00
Mateus Craveiro
e51bca64b8 Fix tag escaping 2018-12-20 02:52:47 -02:00
Mateus Craveiro
a0c8eea90f Fix empty list items 2018-12-19 19:07:33 -02:00
Mateus Craveiro
419e6548bf Fix blockquote paragraph continuation 2018-12-19 18:29:05 -02:00
Mateus Craveiro
95f687dd14 Limit ordered list marker 2018-12-17 21:18:44 -02:00
Federico Soave
ca52d38899 use only the first word of the inforstring as the languauge in code blocks (pass cm example 112) 2018-12-08 14:13:37 +01:00
Federico Soave
30a73a36e3 fences must be indent up to 3 spaces (pass cm example 106) 2018-12-08 14:04:42 +01:00
Federico Soave
2f19392e34 handle fenced code blocks ended by end of file (or parent container) and info string compliant to commonmark 2018-12-08 14:02:57 +01:00
Federico Soave
d0aa0b1a08 allow the closing fence to be longer that the opening one (pass cm example 93) 2018-12-08 13:01:36 +01:00
Steven
06297df672
Merge pull request #1384 from UziTech/url-case-insensitive
Make autolinks case insensitive
2018-12-06 16:16:38 -05:00
Anis Ladram
485248e87c
Added a test for the case: __test@test.com__ 2018-12-06 13:57:23 -05:00
Steven
ce7a5476cf
Update example number
Co-Authored-By: UziTech <tony@brix.ninja>
2018-12-05 12:14:18 -06:00
Steven
5b801d0b99
Update example number
Co-Authored-By: UziTech <tony@brix.ninja>
2018-12-05 12:12:43 -06:00
Tony Brix
917a1d46af make links case insensitive
closes #1350
2018-12-05 11:29:13 -06:00
Roman Hotsiy
2e7c9b5b29
tests: add a few extra tests for emphasis 2018-12-05 17:10:52 +02:00
Roman Hotsiy
92509479e4
fix emphasis closing by single _ part of right-flanking run
fixes CommonMark: 456, 355, 451, 354, 356
2018-10-08 15:34:45 +03:00
Steven
002c37434a Add missing semicolons to tests 2018-09-23 20:56:38 -04:00
Josh Bruce
6c2a614cea
Merge pull request #1331 from markedjs/fork-html-differ
use @markedjs/html-differ
2018-09-23 18:27:30 -04:00
Tony Brix
9dc6996d1c fix a few more spec examples 2018-09-18 16:33:23 -05:00
Federico Soave
51e97fd141 add tests from #1307, #1327, and #1337 2018-09-18 21:59:51 +02:00
Federico Soave
33408b9494 re-enable passing test 2018-09-18 21:27:10 +02:00
Tony Brix
261a9bcd93 ignoreSelfClosingSlash: true 2018-09-06 13:39:49 -05:00
Tony Brix
d277486e5c update percent done 2018-09-06 13:32:49 -05:00
Tony Brix
72f809fdd7 passing more tests 2018-09-06 13:16:39 -05:00
Tony Brix
57108fc5fc use @markedjs/html-differ 2018-09-06 13:07:05 -05:00