637 Commits

Author SHA1 Message Date
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
c2d6d2fa31 only strip spaces 2020-04-24 01:00:27 -05:00
Tony Brix
6ad20acfc1 add newline to space test 2020-04-24 00:51:16 -05:00
Tony Brix
60d810f3de test only remove one space 2020-04-24 00:44:02 -05:00
Tony Brix
143ae5d09a fix codespan spaces 2020-04-24 00:39:47 -05:00
Tony Brix
8a73726d4a add test 2020-04-23 22:59:45 -05:00
Ivan Demidov
e6fe42110c perf: diff string 2020-04-23 18:20:24 +03:00
Ivan Demidov
8b8ecf1d94 style: after lint 2020-04-21 10:44:46 +03:00
Ivan Demidov
70dc21f4a1 test: perf toRenderExact method 2020-04-21 10:44:46 +03: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
fbbdcc8dd5 test: add helper toDeepEqual for strict html equal 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
07f2b334f0 return false to use last renderer/tokenizer 2020-04-19 01:08:54 -05:00
Tony Brix
dd86b714a3 add marked.use tests 2020-04-19 00:04:06 -05: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
Tony Brix
c735fa58ef
Merge branch 'master' into master 2020-04-09 20:09:04 -05:00
Tony Brix
17d81796da add tokenizer 2020-04-08 13:04:29 -05:00
Tony Brix
5da102d024 rename functions 2020-04-06 22:33:40 -05:00
Ivan Demidov
1421c35304 test: for issue #1607 2020-04-03 14:40:28 +03:00
Tony Brix
4d24272617 add tests 2020-04-02 00:24:21 -05: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
Steven
4956bd3735
Merge branch 'master' into render-inline-html 2020-02-12 10:00:54 -05:00
Tony Brix
11656f8bd4 add inline html test 2020-02-12 00:24:43 -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
630aaa65b5 add test 2019-12-05 11:45:07 -06:00
Tony Brix
fb80552c01 rename regex.js to rules.js 2019-11-08 09:21:29 -06:00
Tony Brix
6901937dfc await engine 2019-11-07 10:40:56 -06:00
Tony Brix
7b450bdeb9 fix benchmark pass percentage 2019-11-07 09:40:19 -06:00
Tony Brix
9b5cd7331d remove bench debugging 2019-11-06 15:24:37 -06:00
Tony Brix
c8628431e7 add vuln-regex test 2019-11-06 14:34:27 -06:00
Tony Brix
ba45b32dd7 remove test:redos and use es6 in tests 2019-11-06 12:15:12 -06:00
Tony Brix
f9f5580c42 use commonjs and es6 classes 2019-11-06 11:11:06 -06:00
Tony Brix
ca3741fc86 fix image parens 2019-10-03 09:32:18 -05:00
Tony Brix
7fe6643012 update jasmine and eslint 2019-09-20 21:50:15 -05:00
Tony Brix
9774b70a27 change tests to async 2019-09-11 16:37:31 -05:00