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

919 Commits

Author SHA1 Message Date
Aidan Woods
1a47e74be1
Quotes are permitted in escaped body 2018-03-25 19:59:05 +01:00
Aidan Woods
56cc41803a
Merge pull request #514 from Daniel-KM/fix/consistency_follow
Added tests for consistency when a markdown follows a markup without blank line
2018-03-25 19:53:21 +01:00
Aidan Woods
d86d839677
Merge branch 'master' into fix/consistency_follow 2018-03-25 19:37:04 +01:00
Aidan Woods
d5ded2b935
Decouple handler argument from structure keys 2018-03-21 16:02:57 +00:00
Aidan Woods
098f24d189
Seperate handler delegation from AST
This also splits 'text' into 'text', 'elements', and
'element' to hopefully better communicate structure
2018-03-21 02:32:01 +00:00
Aidan Woods
eb55e426b9
Initial refactor to use AST 2018-03-21 02:18:34 +00:00
Aidan Woods
ced6187ca5
Merge pull request #575 from cebe/patch-3
Added inline example to README
2018-03-20 16:33:53 +00:00
Carsten Brandt
972648ff64
Added inline example to README
see https://github.com/erusev/parsedown/issues/562
2018-03-20 16:56:40 +01:00
Aidan Woods
77dc0a090a
Merge pull request #569 from aidantwoods/feature/unsafe-html
Add unsafeHtml option for extensions to use on trusted input
2018-03-18 21:58:48 +00:00
Aidan Woods
88dc949890
Refactor based on suggestion by @PhrozenByte 2018-03-18 20:17:12 +00:00
Aidan Woods
624a08b7eb
Update commment 2018-03-15 19:55:33 +00:00
Aidan Woods
3fc54bc966
Allow extension to "vouch" for raw HTML they produce
Rename "unsafeHtml" to "rawHtml"
2018-03-15 19:46:03 +00:00
Aidan Woods
ef7ed7b66c
Still grab the text if safe mode enabled, but output it escaped 2018-03-15 11:09:55 +00:00
Aidan Woods
e4c5be026d
Further attempt to dissuade this feature's use 2018-03-15 11:00:03 +00:00
Aidan Woods
e6444bb57e
Add unsafeHtml option for extensions to use on trusted input 2018-03-15 10:48:38 +00:00
Aidan Woods
a3265e7c6f
Merge pull request #511 from aidantwoods/feature/null-name-element
Allow element to have no name
2018-03-15 09:41:16 +00:00
Aidan Woods
aac00ac742
Merge pull request #566 from aidantwoods/fix/email-autolink
Email autolink shouldn't be started by HTML tags
2018-03-10 00:06:59 +00:00
Aidan Woods
6830c3339f
Readability
Thanks @PhrozenByte for the suggestion :)
2018-03-09 17:38:41 +00:00
Aidan Woods
19f1bb9353
Disable backtracking where the regex doesn't need it 2018-03-09 17:06:14 +00:00
Aidan Woods
721b885dd3
Fix #565 by validating email as defined in commonmark spec 2018-03-09 17:05:42 +00:00
Aidan Woods
f70d96479a
Add test case for email surrounded by tags 2018-03-09 16:48:32 +00:00
Aidan Woods
92e9c27ba0
Merge pull request #563 from luizbills/master
bump version
2018-03-08 01:11:30 +00:00
Luiz Paulo "Bills
9857334186
bump version 2018-03-07 22:04:55 -03:00
Luiz Paulo "Bills
ae7e8e5067
bump version 2018-03-07 21:51:35 -03:00
Emanuil Rusev
253822057a
refactor who uses it section in readme a bit more 2018-03-02 17:46:45 +02:00
Emanuil Rusev
a18bf495ed
refactor who uses it section in readme 2018-03-02 17:40:21 +02:00
Emanuil Rusev
e5bf9560d7
add Laravel to who uses it 2018-03-02 17:37:16 +02:00
Aidan Woods
33b51eaefa
Fix typo 2018-03-02 01:16:27 +00:00
Aidan Woods
d686a50292
Merge pull request #557 from aidantwoods/documentation/safe-mode
Talk about safe mode in the README
2018-03-01 19:59:44 +00:00
Aidan Woods
f3068df45a
Remove extra line breaks 2018-03-01 19:54:58 +00:00
Aidan Woods
9b1f54b9d3
Lets be consistent with hyphenation 2018-03-01 18:45:38 +00:00
Aidan Woods
90439ef882
Rewrite section 2018-03-01 18:44:11 +00:00
Aidan Woods
72d30d33bc
allow element to have no name 2018-03-01 01:17:32 +00:00
Aidan Woods
97dd037e6f
Merge pull request #561 from PhrozenByte/patch-3
Add mbstring dependency to composer.json
2018-02-28 23:47:01 +00:00
Daniel Rudolf
fa89f0d743
Add mbstring dependency to composer.json 2018-02-28 20:42:25 +01:00
Aidan Woods
d638fd8a25
Merge pull request #560 from PhrozenByte/patch-2
Travis: Issue build error when Parsedown::version isn't up-to-date
2018-02-28 19:09:57 +00:00
Daniel Rudolf
cc53d5ae29
Travis: Issue build error when Parsedown::version isn't up-to-date 2018-02-28 20:04:45 +01:00
Aidan Woods
45f40696f6
Merge pull request #559 from PhrozenByte/patch-1
Update "Who uses it"
2018-02-28 18:07:37 +00:00
Aidan Woods
e8f3d4efc0
Merge pull request #558 from harikt/issue-232
Add test case to make sure issue 232 no longer exists
2018-02-28 18:02:14 +00:00
Daniel Rudolf
096e164756
Update README.md
Sort "Who uses it" alphabetically, add Laravel + Pico
2018-02-28 18:59:34 +01:00
Hari KT
e2f3961f80 Add test case to make sure issue 232 no longer exists 2018-02-28 23:25:38 +05:30
Aidan Woods
e941dcc3f0
Merge pull request #525 from aidantwoods/fix/infostring
Properly support fenced code block infostring
2018-02-28 17:06:25 +00:00
Aidan Woods
c192001a7e
Merge pull request #433 from aidantwoods/patch-3
Fix Issue #358 – preventing double nested links
2018-02-28 17:05:58 +00:00
Aidan Woods
48a053fe29
Merge pull request #423 from PhrozenByte/bugfix/CommonMarkTest
Fix CommonMark test
2018-02-28 17:05:24 +00:00
Aidan Woods
5057e505d8
Merge pull request #475 from aidantwoods/loose-lists
Loose lists
2018-02-28 17:05:00 +00:00
Aidan Woods
ad62bf5a6f
Talk about safe mode in the README 2018-02-28 17:03:46 +00:00
Emanuil Rusev
6678d59be4
Merge pull request #495 from aidantwoods/anti-xss
Prevent various XSS attacks [rebase and update of #276]
2018-02-28 13:41:37 +02:00
Emanuil Rusev
c999a4b61b
improve readme 2018-01-29 20:55:30 +02:00
Emanuil Rusev
e938ab4ffe
improve readme 2018-01-29 20:54:40 +02:00
Emanuil Rusev
e69374af0d
improve readme 2018-01-29 20:52:27 +02:00