Aidan Woods
|
c6b717cc35
|
Merge pull request #604 from aidantwoods/fix/autobreak
Ensure autobreak false is honoured over empty name
|
2018-04-06 20:00:32 +01:00 |
|
Aidan Woods
|
8f3f61883d
|
Merge pull request #603 from aidantwoods/fix/recursion
Apply depth first
|
2018-04-06 19:57:55 +01:00 |
|
Aidan Woods
|
4c9ea94d0c
|
Apply depth first to avoid risk of segfault if closure creates subelements
|
2018-04-06 19:52:25 +01:00 |
|
Aidan Woods
|
32e69de014
|
Ensure autobreak false is honoured over empty name
|
2018-04-06 19:51:27 +01:00 |
|
Aidan Woods
|
201299ddc2
|
Merge pull request #602 from aidantwoods/enhancement/text-elements
Split some of `text` into `textElements`
|
2018-04-06 19:50:24 +01:00 |
|
Aidan Woods
|
557db7c179
|
Split some of text into textElements
`process` is no longer needed
|
2018-04-06 18:11:27 +01:00 |
|
Aidan Woods
|
9b7b7348b4
|
Merge pull request #598 from aidantwoods/enhancement/set-literal-breaks
Add literalBreaks support
|
2018-04-06 15:06:45 +01:00 |
|
Aidan Woods
|
96581dbe16
|
Merge pull request #600 from aidantwoods/fix/code-block-closer
Fix fenced code block closer length rules
|
2018-04-05 18:46:49 +01:00 |
|
Aidan Woods
|
06b810cd4a
|
Fix fenced code block closer to match CommonMark rules
|
2018-04-05 16:55:14 +01:00 |
|
Aidan Woods
|
38ea813b0e
|
Add failing test case
|
2018-04-05 16:54:35 +01:00 |
|
Aidan Woods
|
24e48e91c8
|
Add literalBreaks support
Line breaks will be converted to <br />
|
2018-04-05 01:01:52 +01:00 |
|
Aidan Woods
|
e33f1a48c8
|
Merge pull request #596 from aidantwoods/enhancement/test-on-php72
Test on PHP 7.2
|
2018-04-02 19:56:02 +01:00 |
|
Aidan Woods
|
1c8f6bc253
|
Merge pull request #594 from aidantwoods/enhancement/ast-recursion-helper
Add recursive helper for AST
|
2018-04-02 19:53:58 +01:00 |
|
Aidan Woods
|
ed3e967fb6
|
Update README
|
2018-04-02 19:52:26 +01:00 |
|
Aidan Woods
|
3b3d13489b
|
Test on PHP 7.2
|
2018-04-02 19:51:07 +01:00 |
|
Aidan Woods
|
498c88c4eb
|
Merge pull request #589 from NathanBaulch/hashtag
Support #hashtag per CommonMark and GFM specs
|
2018-04-02 17:25:28 +01:00 |
|
Aidan Woods
|
772c919b05
|
Fix bug where empty atx headings would not be recognised (CommonMark)
Fixes #595
|
2018-04-02 17:18:01 +01:00 |
|
Aidan Woods
|
cf6d23de55
|
Rename hashtags enabled to strict mode
We can use this to seperate any intentional spec deviations from
spec behaviour so users can pick between compatability and spec
implementations
|
2018-04-02 17:18:01 +01:00 |
|
Nathan Baulch
|
d0279cdd3b
|
Enable #hashtag support via setting
|
2018-04-02 17:18:01 +01:00 |
|
Nathan Baulch
|
8a90586218
|
Support #hashtag per CommonMark and GFM specs
|
2018-04-02 17:18:00 +01:00 |
|
Aidan Woods
|
390fa0da1b
|
This is probably faster than duplicating the closure
|
2018-04-01 17:55:32 +01:00 |
|
Aidan Woods
|
9026b1abdb
|
Add recursive helper for AST, use this for implementation of calling handler
recursively
|
2018-04-01 17:10:49 +01:00 |
|
Aidan Woods
|
68736f8800
|
Merge pull request #593 from aidantwoods/enhancement/process
Decouple manipulating final AST from `text` method
|
2018-04-01 16:37:44 +01:00 |
|
Aidan Woods
|
535110c57e
|
Add process method so extensions may process final AST without
copying implementation of `text`
|
2018-03-31 23:23:12 +01:00 |
|
Aidan Woods
|
ce073c9baa
|
Merge pull request #576 from aidantwoods/enhancement/moar-ast
Produce AST prior to render
|
2018-03-31 23:11:45 +01:00 |
|
Aidan Woods
|
e4d6c8f911
|
Add support for recursive handlers
|
2018-03-31 22:01:38 +01:00 |
|
Aidan Woods
|
cbe2e74d52
|
Merge pull request #592 from aidantwoods/fix/html-comment
Fix HTML comment endings
|
2018-03-30 19:28:40 +01:00 |
|
Aidan Woods
|
aa90dd481a
|
Match CommonMark spec on HTML comments:
Start condition: line begins with the string `<!--`.
End condition: line contains the string `-->`.
|
2018-03-30 19:22:50 +01:00 |
|
Aidan Woods
|
20e592359f
|
Add failing test case
|
2018-03-30 19:22:13 +01:00 |
|
Aidan Woods
|
9f1f5de387
|
Add recursive handle methods to generate entire AST for traversal
|
2018-03-28 20:59:56 +01:00 |
|
Aidan Woods
|
40b9da7837
|
Merge pull request #587 from aidantwoods/fix/ol-interrupt
Fix ordered list interrupt
|
2018-03-28 15:43:44 +01:00 |
|
Aidan Woods
|
a9c21447ce
|
Only interrupt paragraph if starting with 1
|
2018-03-28 15:38:11 +01:00 |
|
Aidan Woods
|
a3e02c1d0e
|
Add failing test case
|
2018-03-28 15:37:47 +01:00 |
|
Aidan Woods
|
40e797031e
|
Old handler compatability layer
|
2018-03-28 03:42:38 +01:00 |
|
Aidan Woods
|
448b72a149
|
Merge pull request #586 from aidantwoods/fix/blockquote-adjacent
Fix merging of adjacent blockquotes
|
2018-03-28 03:31:36 +01:00 |
|
Aidan Woods
|
92e426e0e8
|
Fix merging of adjacent blockquotes
|
2018-03-28 03:27:09 +01:00 |
|
Aidan Woods
|
07216480db
|
Change test to comply with CommonMark
|
2018-03-28 03:26:45 +01:00 |
|
Aidan Woods
|
caea783006
|
Add failing test case
|
2018-03-28 03:24:01 +01:00 |
|
Aidan Woods
|
d849d64611
|
Merge pull request #584 from aidantwoods/fix/tables
Permit 1 column tables with less delimiters
|
2018-03-27 23:18:41 +01:00 |
|
Aidan Woods
|
00e51ee424
|
Permit 1 column tables with less delimiters
|
2018-03-27 23:12:51 +01:00 |
|
Aidan Woods
|
0550c3eaf9
|
Merge pull request #583 from aidantwoods/fix/atx-headings
Fix trimming of internal #'s in ATX headers
|
2018-03-27 22:10:39 +01:00 |
|
Aidan Woods
|
790aed42ab
|
Fix trimming of internal #'s
|
2018-03-27 22:04:11 +01:00 |
|
Aidan Woods
|
1c52cb6b5e
|
Add failing test cases
|
2018-03-27 22:01:32 +01:00 |
|
Aidan Woods
|
ae13290221
|
Merge pull request #574 from aidantwoods/fix/remove-legacy-escaping
Remove legacy escaping
|
2018-03-27 13:18:30 +01:00 |
|
Aidan Woods
|
e16162e288
|
Merge pull request #582 from aidantwoods/fix/formatting
Formatting adjustments
|
2018-03-27 12:12:01 +01:00 |
|
Aidan Woods
|
244ea0aaa6
|
Remove some whitespace
|
2018-03-27 12:11:00 +01:00 |
|
Aidan Woods
|
2f291e0b2f
|
Merge pull request #439 from aidantwoods/patch-4
Improve CommonMark mixed-marker list compliance
|
2018-03-27 11:31:34 +01:00 |
|
Aidan Woods
|
d2a73f9179
|
Trim whitespace
|
2018-03-27 11:23:04 +01:00 |
|
Aidan Woods
|
f594d4c18b
|
Add more tests for CommonMark compliance
|
2018-03-27 11:20:04 +01:00 |
|
Aidan Woods
|
21cdd8a0b3
|
Merge branch 'master' into patch-4
|
2018-03-27 11:13:06 +01:00 |
|