1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00
Commit Graph

81 Commits

Author SHA1 Message Date
Aidan Woods
f4fb5bd943
Add type 7 HTML block tests 2019-07-25 00:20:59 +02:00
Aidan Woods
3f74fe8347
Port fix for https://github.com/erusev/parsedown/issues/699 into new
codebase
2019-04-07 16:38:46 +01:00
Aidan Woods
d32f5de2fe
According to GFM spec these shouldn't infact be recognised 2019-04-07 16:38:45 +01:00
Aidan Woods
33522f0aa4
Normalise link reference lookups
Ref: https://github.com/erusev/parsedown/pull/104
2019-04-07 16:38:19 +01:00
Aidan Woods
747abe7600
Test indented code boundary when list advances 2019-04-07 16:38:18 +01:00
Aidan Woods
6ac6b7f7f7
Test blockquote whitespace handling 2019-04-07 16:38:14 +01:00
Aidan Woods
c2973100e0
Fix whitespace trimming for soft and hard breaks 2019-04-07 16:38:14 +01:00
Aidan Woods
0626a83289
Test trimming doesn't occur when asymmetric 2019-04-07 16:38:14 +01:00
Aidan Woods
08c40afc16
Test against HTML block endings 2019-04-07 16:38:13 +01:00
Aidan Woods
14f8ff52e1
Test continuation of indented code blocks 2019-04-07 16:38:13 +01:00
Aidan Woods
54f2c4eb4c
Fix recovered spaces calculation 2019-04-07 16:38:12 +01:00
Aidan Woods
f47ba7aa34
Track whitespace left on blank lines to match CommonMark
Test changes copy pasted to match CommonMark reference parser
2019-04-07 16:38:10 +01:00
Aidan Woods
3dd1326ded
Trim paragraph contents 2019-04-07 16:38:10 +01:00
Aidan Woods
745db11d2f
Since SafeMode concerns output, spacing should still be parsed like markup 2019-04-07 16:38:09 +01:00
Aidan Woods
7fd6e0bb31
Backslash escape like CommonMark 2019-04-07 16:38:09 +01:00
Aidan Woods
eab734b457
Match CommonMark's rendering a bit better 2019-04-07 16:38:08 +01:00
Aidan Woods
2e0ad27c5e
CommonMark escapes double-quotes 2019-04-07 16:38:08 +01:00
Aidan Woods
b89bd0e3c2
Add breaks configurable 2019-04-07 16:38:05 +01:00
Aidan Woods
bb424e606f
Improve indent handling by lists 2019-04-07 16:38:03 +01:00
Aidan Woods
fc37ad11ed
Tabs shouldn't break thematic breaks 2019-04-07 16:38:02 +01:00
Aidan Woods
4e9a0113c3
Thematic breaks can't have an indent of more than 3 2019-04-07 16:38:02 +01:00
Aidan Woods
88ab68fd0b
Refactor into namespaces for PSR-4 2019-04-07 16:37:47 +01:00
Emanuil Rusev
37416b5f07 simplify folder name 2014-04-28 21:53:34 +03:00
Emanuil Rusev
6081954185 resolve #154 2014-04-18 00:19:22 +03:00
Emanuil Rusev
5be4491943 make parser class more extensible 2014-04-17 10:59:35 +03:00
Emanuil Rusev
9fd9262f16 implement tables 2014-02-23 18:55:34 +02:00
Emanuil Rusev
b8bd12f565 parser should be less dependent on compiler 2014-02-21 01:54:23 +02:00
Won-Kyu Park
446fead459 simple html cases 2014-02-17 23:33:56 +09:00
Emanuil Rusev
d29ff18299 resolve #92 2014-02-06 14:16:14 +02:00
Emanuil Rusev
95e9878fb0 improve tests 2014-02-06 02:37:09 +02:00
Emanuil Rusev
14ab6d46fe resolve #82 2014-02-06 00:10:18 +02:00
Emanuil Rusev
548a6f7945 resolve #89 2014-02-05 14:03:43 +02:00
Emanuil Rusev
f5f1706e58 improve consistency of list item 2014-02-02 22:27:22 +02:00
Emanuil Rusev
a7510b97e7 dense list items that follow sparse ones should not be rendered as sparse ones 2014-01-31 03:03:52 +02:00
Carsten Brandt
d3c975d4d8 some edge case tests for the code tag 2014-01-29 15:36:41 +01:00
Emanuil Rusev
68f2871996 resolve #3 2014-01-22 21:28:29 +02:00
Emanuil Rusev
17e7e33847 name image title test 2014-01-22 21:28:29 +02:00
Emanuil Rusev
2a0700abda resolve #61 2014-01-20 22:19:23 +02:00
Emanuil Rusev
f5dd3455f9 resolve #58 2014-01-19 00:52:07 +02:00
Emanuil Rusev
1017f22cdd fix paragraph list 2014-01-18 16:45:39 +02:00
Emanuil Rusev
654dd74074 lines that start with inline html should not get parsed as block-level markup, should resolve #54 and #57 2014-01-18 16:45:39 +02:00
Emanuil Rusev
149b687ee7 improve tests 2014-01-17 01:25:41 +02:00
Emanuil Rusev
fd42f2e864 improve tests 2013-12-26 21:55:33 +02:00
Emanuil Rusev
c0b7155572 implement link titles 2013-12-26 21:53:48 +02:00
Emanuil Rusev
be366b63ea improve parsing of emphasis
**strong** and *em* and **strong** and *em*
2013-12-24 23:40:12 +02:00
malorisdead
019a4af2af Added ability to specify link titles to inline and reference links.
Fixed whitespace bug with reference link regex.
Updated tests.
2013-12-14 02:13:53 -05:00
Emanuil Rusev
51a08fad85 improve parsing of emphasis 2013-12-07 17:21:36 +02:00
Emanuil Rusev
85ad014f74 parse code span after recursive types to resolve #44 2013-12-06 01:43:55 +02:00
Emanuil Rusev
22336a1bcc simplify special characters test 2013-12-06 00:45:26 +02:00
Emanuil Rusev
5b01915a63 interrupted list items should not add nonexistent empty lines 2013-12-06 00:15:17 +02:00