Emanuil Rusev
fa005fdb95
Merge pull request #336 from hkdobrev/late-static-binding
...
Use late static binding for Parsedown::instance()
2015-08-13 15:16:23 +03:00
Haralan Dobrev
5f40cab3e7
Use late static binding for Parsedown::instance()
...
Fixes erusev/parsedown-extra#67 .
This introduces PHP 5.3+ late static binding to the Singleton pattern in Parsedown.
It will return an instance of Parsedown which inherits the class which
called the `instance()` method rather than always returning instance of just `Parsedown`.
Tests are testing this feature with a test class which inherits from Parsedown.
Notice that calling `instance()` with the default arguments after an instance of
`Parsedown` was already created, it will return it even though it is from just
an instance of `Parsedown`. So this is fixing the problem just partially.
2015-08-13 13:29:33 +03:00
Emanuil Rusev
0e89e3714b
1.5.4
2015-08-03 12:24:05 +03:00
Emanuil Rusev
6b24125f06
clean up
2015-07-31 17:01:14 +03:00
Emanuil Rusev
a589bcac79
resolve #342
2015-07-31 01:33:21 +03:00
Emanuil Rusev
a9dfc97ddc
opening code fence doesn't need 2 regex groups
2015-07-16 16:57:13 +03:00
Emanuil Rusev
ba802c1c8d
replace the term "incomplete"
2015-07-02 01:01:14 +03:00
Emanuil Rusev
438874e9a8
improve line
2015-06-25 01:05:05 +03:00
Emanuil Rusev
e2bb3eaaf8
clean up
2015-06-15 12:28:35 +03:00
Emanuil Rusev
b9e5228e92
version 1.5.3
2015-04-29 23:22:24 +03:00
Gareth Evans
6736ba9a04
Fix check against $matches
...
Fixes inline reference links with int 0 as reference
The link [link][0] where [0] is set at the bottom of the md file current breaks and it's truthy value is false.
2015-04-20 16:24:11 +01:00
Jeff Standen
b828fe7c8d
Fixes #283
2015-02-03 13:58:47 -08:00
Niklas Keller
cb8cc57742
Fixes #279
2015-02-02 00:58:24 +01:00
Emanuil Rusev
9da19c1108
version 1.5.1
2015-01-24 15:01:47 +02:00
Emanuil Rusev
e94ecf4adc
resolve #277
2015-01-24 14:21:55 +02:00
Emanuil Rusev
4d3079b908
resolve #274
2015-01-24 14:03:05 +02:00
Emanuil Rusev
648419467a
clean up
2015-01-21 01:32:20 +02:00
Emanuil Rusev
6ddb6b2b33
resolve #90
2015-01-19 17:11:13 +02:00
Emanuil Rusev
0008e69a83
clean up
2015-01-19 17:09:51 +02:00
Emanuil Rusev
c664785485
inline methods should be able to handle unmarked inline elements
2015-01-19 17:05:10 +02:00
Emanuil Rusev
bdf0ef024e
setter variables should not be private
2015-01-18 19:38:57 +02:00
Emanuil Rusev
21a3e8790a
no need for a separate method for every special character
2015-01-16 03:57:47 +02:00
Emanuil Rusev
e5e8d02934
improve order of methods
2015-01-16 03:18:07 +02:00
Emanuil Rusev
7ff0f97811
improve performance
2015-01-16 02:59:51 +02:00
Emanuil Rusev
596350d1f5
improve names of elements
2015-01-16 02:49:55 +02:00
Emanuil Rusev
2cbd3010e4
url elements should not be restricted to http
2015-01-16 02:31:58 +02:00
Emanuil Rusev
3b4aa6bff7
change the parsing order of tag elements to improve performance
2015-01-16 01:46:43 +02:00
Emanuil Rusev
05a8f16e95
improve CommonMark compliance
2015-01-16 01:44:35 +02:00
Emanuil Rusev
79d924040a
improve CommonMark compliance
2015-01-16 01:24:02 +02:00
Emanuil Rusev
b4a8eb3315
resolve #156
2015-01-16 00:04:18 +02:00
Emanuil Rusev
4383cce85b
resolve #143
2015-01-15 22:31:31 +02:00
Emanuil Rusev
ada39109e4
resolve #189
2015-01-15 22:04:02 +02:00
Emanuil Rusev
a06cdfb814
improve fix for #184
2015-01-15 21:32:18 +02:00
Emanuil Rusev
6bee326c92
resolve #184
2015-01-15 21:10:09 +02:00
Emanuil Rusev
f08d017bcb
resolve #196
2015-01-15 02:45:45 +02:00
Emanuil Rusev
e61a6114b0
resolve #175
2015-01-15 02:37:20 +02:00
Emanuil Rusev
9ed72ccd09
resolve #126
2015-01-15 02:24:39 +02:00
Emanuil Rusev
09e1184d9f
resolve #265
2015-01-15 00:56:12 +02:00
Emanuil Rusev
0d28808392
void markup blocks be marked
2015-01-12 23:24:13 +02:00
Emanuil Rusev
78960cf792
improve formatting
2015-01-12 18:53:24 +02:00
Emanuil Rusev
8f2e9c7cf6
definitions are blocks
...
in the old implementation it wasn’t possible to have multiline
definitions
2015-01-12 18:52:17 +02:00
Emanuil Rusev
3eb6d349f0
"src" and "alt" attributes should come first
2015-01-12 02:58:08 +02:00
Emanuil Rusev
08b01a1a29
blocks should be able to return markup
2015-01-12 02:55:00 +02:00
Emanuil Rusev
1686b2fbff
we no longer call inline elements spans
2015-01-12 02:55:00 +02:00
Emanuil Rusev
15a32fcd0e
no need to know the structure of markup blocks
2015-01-12 02:55:00 +02:00
Emanuil Rusev
9f58363e4b
Merge pull request #260 from rhukster/master
...
Fix for Parsedown stripping classes on images supported by ParsedownExtra
2015-01-11 14:50:08 +02:00
naNuke
05bf198d26
breaksEnabled fix
2015-01-11 06:12:01 +01:00
Andy Miller
30234a58fa
No longer needed in this solution
2015-01-10 19:44:30 -07:00
Andy Miller
03ff22c7df
Attempted fix for stripped classes on images with ParsedownExtra - re: https://github.com/erusev/parsedown-extra/issues/32
2015-01-10 19:40:39 -07:00
Emanuil Rusev
e68a458105
improve consistency
2015-01-10 14:22:54 +02:00