156 Commits

Author SHA1 Message Date
Trevor Buckner
c38ee23f45 Fix Pedantic 2020-05-29 20:53:58 -04:00
Trevor Buckner
4e2ec90374 Now passes several more tests
Added a check for the previous character to the  *em* Tokenizer. Needed to pass any tests where the em block starts with a punctuation character (e.g. commonmark example 368)
2020-05-29 16:25:46 -04:00
Trevor Buckner
40493bbc28 Follow GFM spec on Left-flanking-delimiter-runs 2020-05-21 12:56:31 -04:00
Tony Brix
48448cc24f fix image links with escaped brackets 2020-05-19 15:58:33 -05:00
Steven
cec5f5eb27
Merge pull request #1674 from UziTech/task-no-tokens
fix loose task list with no tokens
2020-05-12 18:49:42 -04:00
Tony Brix
369bf41681 fix loose task list with no tokens 2020-05-12 15:58:47 -05:00
Yaroslav Admin
13b0c07b0c render code with and without language with the trailing newline 2020-05-10 22:43:32 +02:00
Tony Brix
a220ce91ca
Merge pull request #1660 from UziTech/fix-em-comma 2020-05-04 10:45:23 -05:00
Steven
0a57e47d11
Merge pull request #1652 from UziTech/codespan-newline
Codespan newline
2020-05-03 15:19:53 -04:00
Tony Brix
61bc4ba78a fix underscore emphasis then comma 2020-05-02 01:13:46 -05:00
Tony Brix
8a73726d4a add test 2020-04-23 22:59:45 -05:00
Ivan Demidov
ad26aeb1d5 test: perf change deepEqual to renderExtra 2020-04-21 10:44:46 +03:00
Ivan Demidov
ce80652bac style: after lint 2020-04-21 10:44:46 +03:00
Ivan Demidov
f3eb715695 test: style expected for deepEqual 2020-04-21 10:44:46 +03:00
Ivan Demidov
62efe07a49 test: add deepEqual rules 2020-04-21 10:44:46 +03:00
Ivan Demidov
91a884a08c test: add condition for deepEqual rules 2020-04-21 10:44:46 +03:00
Ivan Demidov
55cae086e3 test: inden in render code, issue #1488 2020-04-21 10:44:46 +03:00
Tony Brix
451101aa36 Merge pull request #1636 from Scrum/master
fix: Intra-word emphasis can match the wrong asterisks
2020-04-14 14:31:40 -05:00
Tony Brix
4947ce5078 only send needed variables to tokenizer 2020-04-14 13:29:51 -05:00
Ivan Demidov
5193c32233
Merge branch 'master' into fix/closing-delimited 2020-04-14 16:21:07 +03:00
Ivan Demidov
a4d0b62849 test: remove shouldFail, issue #1594 2020-04-14 10:19:16 +03:00
Ivan Demidov
d65ec2a849 test: for issue #1248 2020-04-13 12:02:51 +03:00
Ivan Demidov
1421c35304 test: for issue #1607 2020-04-03 14:40:28 +03:00
Tony Brix
7330a9ca3d add html test to heading ids 2020-03-20 09:05:53 -05:00
Tony Brix
2d8045fe7e test 3 spaces before table rows 2020-03-09 15:33:49 -05:00
Tony Brix
d8c09c13c1 add tests 2020-03-09 11:02:34 -05:00
Tony Brix
8f1917e814
Merge pull request #1598 from calculuschild/table-block-breaks
Fix GFM tables not breaking on block-level structures
2020-03-06 14:16:32 -06:00
Trevor Buckner
63454d2457 Fix GFM Example 116
Only code fences made from backticks cannot have other backticks in the same line. Fences with tildes can have both tildes and backticks. This allows the tilde case to work correctly.

Also test for detection of these fences as they break or do not break paragraphs.
2020-02-10 16:06:38 -05:00
Trevor Buckner
090d11e1c6 Fix GFM tables not breaking on block-level structures
Includes test cases for all block-level structures and some inline-level structures (which should still appear in the table)
2020-02-04 23:46:34 -05:00
Tony Brix
ca3741fc86 fix image parens 2019-10-03 09:32:18 -05:00
Tony Brix
9774b70a27 change tests to async 2019-09-11 16:37:31 -05:00
Josh Bruce
f569637dda
Merge pull request #1535 from UziTech/loose-task-list
Loose task list
2019-08-19 13:11:14 -07:00
Tony Brix
4bc3b9b05b add test for loose task list 2019-08-14 09:05:03 -05:00
Tony Brix
f2de291b6a add substitution test 2019-08-05 12:52:36 -05:00
Tony Brix
04187d8fae remove substitutions 2019-08-05 12:37:05 -05:00
Tony Brix
d620f3c577 baseUrl can be relative 2019-07-17 21:59:20 -05:00
Tony Brix
e987a4df32 fix tests 2019-07-02 11:46:47 -05:00
Tony Brix
7faa999deb add test 2019-07-02 11:46:47 -05:00
Tony Brix
0276ad7940 silent tests 2019-07-02 10:03:46 -05:00
Tony Brix
1f4c17fa8a
Merge branch 'master' into spec-options 2019-07-02 09:36:05 -05:00
Tony Brix
6bae3a2b76
Link parenthesis (#1509)
Link parenthesis
2019-07-02 09:34:29 -05:00
Tony Brix
2a1bbeda57
Sanitize hardening (#1504)
Sanitize hardening

Co-authored-by: Tony Brix <tony@brix.ninja>
2019-07-02 09:33:53 -05:00
Tony Brix
2b63f3b0d3 add test 2019-07-02 08:40:16 -05:00
Tony Brix
44dbeeb31e remove tables option 2019-07-02 00:23:57 -05:00
Tony Brix
8ccc1f1547 improve paragraph 2019-07-01 08:47:06 -05:00
Tony Brix
ba2eedd2d0 improve lheading 2019-07-01 08:33:14 -05:00
Tony Brix
57f6d89aff improve heading 2019-07-01 08:30:41 -05:00
Tony Brix
ef4904d89a use correct options 2019-07-01 08:12:01 -05:00
KT
0e8d8f4768 use the more generic sanitizer option instead of sanitizerRemoveHtml in tests 2019-06-28 21:31:03 +02:00
Tony Brix
da4d9673c6 add test 2019-06-28 11:25:31 -05:00