Aidan Woods
|
488ecc0377
|
Use psalm --shepherd
|
2019-04-12 19:30:44 +01:00 |
|
Aidan Woods
|
efcccb3256
|
Update commonmark cache
|
2019-04-10 07:02:52 +01:00 |
|
Aidan Woods
|
9eb6a02334
|
Limit recursion depth by configurable
Fixes https://github.com/erusev/parsedown/issues/681
|
2019-04-07 17:34:40 +01:00 |
|
Aidan Woods
|
b9b75dbcea
|
Update commonmark cache
|
2019-04-07 16:38:46 +01:00 |
|
Aidan Woods
|
35d24d0b56
|
PHP < 7 patch
|
2019-04-07 16:38:46 +01: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
|
710a6ad250
|
Remove format error
|
2019-04-07 16:38:46 +01:00 |
|
Aidan Woods
|
9b9c9d83d2
|
Update CommonMark expect to pass
|
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
|
99525fdd76
|
Match GFM spec for extended autolinks
There is a small list of characters which may precede an autolink
|
2019-04-07 16:38:45 +01:00 |
|
Aidan Woods
|
de1e0b9361
|
Update README to match Travis breadth
|
2019-04-07 16:38:45 +01:00 |
|
Aidan Woods
|
c86757b6ae
|
Use caret operator for PHP version
As suggested by @glensc
|
2019-04-07 16:38:20 +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
|
7f6127f3f8
|
Ensure we cover all mutations in tests
|
2019-04-07 16:38:19 +01:00 |
|
Aidan Woods
|
4adbd0b8a7
|
Backtracking capable inlines better expressed by interface
|
2019-04-07 16:38:19 +01:00 |
|
Aidan Woods
|
4501a094db
|
Remove copy-pasto
|
2019-04-07 16:38:19 +01:00 |
|
Aidan Woods
|
4a215f33d4
|
Trim in renderer
|
2019-04-07 16:38:19 +01:00 |
|
Aidan Woods
|
3ccd64a9a1
|
Expand public API of Components
Ref: https://github.com/erusev/parsedown/issues/694
|
2019-04-07 16:38:19 +01:00 |
|
Aidan Woods
|
3c0b528d54
|
Constructor shouldn't be part of public API
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
f83ee87902
|
Make this pattern a bit more reusable
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
747abe7600
|
Test indented code boundary when list advances
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
a396fccace
|
No contexts implies everything being appended is a blank line
(of which where is at least one).
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
93e68056a8
|
Further improve tests
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
4fb6ac31a5
|
Improve tests
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
69f6754c4d
|
These classes of mutations would be caught be static analysis
Infection doesn't support running Psalm, so removing
the mutations is next best solution.
|
2019-04-07 16:38:18 +01:00 |
|
Aidan Woods
|
d8d483bd6a
|
Add some component level tests
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
c0792947a6
|
Remove unused methods
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
658129d847
|
Suppress instead of writing super verbose tests
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
65450f47cd
|
Simplify
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
fc23ca5ef5
|
Remove more redundant checks
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
015e476f3e
|
Remove unused import
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
289b641a42
|
Remove inaccurate comment
|
2019-04-07 16:38:17 +01:00 |
|
Aidan Woods
|
147a87a4f3
|
These are self-explainitory
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
b90efc69ec
|
Ensure marker is properly contained in the Inline
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
dbe37bcb0e
|
Type check tests
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
30613b2430
|
Ensure $startPosition is positive
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
cef5b16ae0
|
Update excludes
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
5ecfc42728
|
Early exit if found
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
3bb24c20a6
|
Assert marker is correct for hard and soft breaks
|
2019-04-07 16:38:16 +01:00 |
|
Aidan Woods
|
369aea5d8d
|
Collect State from continuable state updating block on advance
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
2b79d599fb
|
Require State to build and advance blocks
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
8fd3c77109
|
Tighten requirements
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
df703dcb0e
|
Missed one
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
36fac49ed8
|
Remove redundant checks
These don't appear to have a measurable positive impact on performance.
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
41fb6b0d43
|
Move url sanitisation out of Element class
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
a681cf631c
|
Acquisition capable blocks as an interface
|
2019-04-07 16:38:15 +01:00 |
|
Aidan Woods
|
6ac6b7f7f7
|
Test blockquote whitespace handling
|
2019-04-07 16:38:14 +01:00 |
|
Aidan Woods
|
3c6578dd4b
|
Remove deleted stage
|
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 |
|