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

123 Commits

Author SHA1 Message Date
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
7fb08f334a improve comments 2013-12-07 10:54:05 +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
f713e380ee add comment for automatic link 2013-12-06 00:29:51 +02:00
Emanuil Rusev
5b01915a63 interrupted list items should not add nonexistent empty lines 2013-12-06 00:15:17 +02:00
Emanuil Rusev
18d112a614 improve readme 2013-12-03 23:19:50 +02:00
Emanuil Rusev
1b9641ad03 improve readme 2013-12-03 22:49:50 +02:00
Emanuil Rusev
8baf537c12 resolve #40 2013-12-02 23:26:43 +02:00
Emanuil Rusev
05823567bc simplify comments 2013-12-02 23:02:15 +02:00
Emanuil Rusev
b7029ab176 improve readme 2013-12-01 00:10:30 +02:00
Emanuil Rusev
102a947c7a improve readme 2013-11-23 15:58:58 +02:00
Emanuil Rusev
7bb70186c1 simplify test for em strong 2013-11-23 13:35:15 +02:00
Emanuil Rusev
3225c66863 ***strong em** inside of em* should produce valid markup 2013-11-23 13:19:06 +02:00
Emanuil Rusev
d6dc5ba25b update introduction text to match website 2013-11-23 09:26:44 +02:00
Emanuil Rusev
f5451a9eff Merge pull request #37 from hkdobrev/htmlspecialshars-utf8 2013-11-22 13:23:21 -08:00
Haralan Dobrev
849a89b121 Use UTF-8 encoding for htmlspecialchars. See #36.
Prior to PHP 5.4.0 the default encoding for `htmlentities()`
and `htmlspecialchars` is "ISO-8859-1". For PHP 5.4+ is "UTF-8".

This ensures always the right encoding is used no matter the PHP version
and the locale settings.
2013-11-22 23:06:20 +02:00
Emanuil Rusev
28064a63b3 simplify encoding of special characters 2013-11-22 21:57:21 +02:00
Emanuil Rusev
800aac5b56 Merge pull request #36 from josephok/patch-1 2013-11-22 11:21:38 -08:00
josephok
b15d40e8a3 Update Parsedown.php
Changes the htmlentities() to htmlspecialchars(). The htmlentities() has some problems encoding non-english words(like Chinese)
2013-11-22 23:05:26 +08:00
Emanuil Rusev
ddc5b7e2dd implement URL auto-linking 2013-11-22 00:20:45 +02:00
Emanuil Rusev
5a563008aa implement GFM strikethrough 2013-11-21 13:39:00 +02:00
Emanuil Rusev
b6f795962f resolve #21 2013-11-21 00:59:30 +02:00
Emanuil Rusev
cdb2646063 update readme to match website 2013-11-20 23:10:03 +02:00
Emanuil Rusev
e3b8026e39 build should no longer allow failures 2013-11-18 22:39:44 +02:00
Emanuil Rusev
d96f668c42 update test case to make it run on PHP 5.2 2013-11-18 22:29:15 +02:00
Emanuil Rusev
96bf75bd91 remove goto to provide support for PHP 5.2 2013-11-18 21:42:00 +02:00
Emanuil Rusev
67b51794d8 implement fenced code block to resolve #2 2013-11-17 16:52:31 +02:00
Emanuil Rusev
a9d6232705 array_shift » unset to simplify code base and improve performance 2013-11-17 13:21:49 +02:00
Emanuil Rusev
b91629ad94 organize evaluation blocks into switch statements to improve code readability 2013-11-17 12:48:01 +02:00
Emanuil Rusev
24d300ea5d $pure_line » $deindented_line 2013-11-17 01:52:40 +02:00
Emanuil Rusev
d54712b989 simplify comments 2013-11-17 01:52:40 +02:00
Emanuil Rusev
6ef043ba7d arrange compile cases 2013-11-17 01:52:40 +02:00
Emanuil Rusev
fe27b70bdb block » markup 2013-11-17 01:52:40 +02:00
Emanuil Rusev
18d3dbf4f6 simplify comments 2013-11-17 01:52:40 +02:00
Emanuil Rusev
4758f58f73 remove double semicolons 2013-11-17 01:52:40 +02:00
Emanuil Rusev
5fa3eb1b2f parse_inline_elements » parse_span_elements to match the specs 2013-11-17 01:52:40 +02:00
Emanuil Rusev
38300323a6 simplify readme 2013-11-16 18:45:13 +02:00
Emanuil Rusev
96609329b9 improve readme 2013-11-16 09:51:01 +02:00
Emanuil Rusev
e497acb6dc escape sequences with double digit codes do not get decoded properly 2013-11-16 02:05:31 +02:00
Emanuil Rusev
30e436ec7d simplify tests 2013-11-16 02:05:31 +02:00
Emanuil Rusev
3972f18881 improve readme 2013-11-14 00:50:00 +02:00
Emanuil Rusev
4fb12be60a improve introduction 2013-11-13 01:52:59 +02:00
Emanuil Rusev
f8b07611d3 homepage » home 2013-11-13 01:47:38 +02:00
Emanuil Rusev
21d7f75f5b improve readme 2013-11-13 01:38:29 +02:00
Emanuil Rusev
a4fb0651d5 resolve #27 2013-11-13 01:07:39 +02:00
Emanuil Rusev
50a58eab16 Merge pull request #29 from hkdobrev/multi-line-emphasis
Allow multi-line emphasis. Fix #28.
2013-11-12 12:46:05 -08:00
Haralan Dobrev
1f347e17eb Allow multi-line emphasis. Fix #28. 2013-11-12 19:22:17 +02:00
Emanuil Rusev
df3db71698 add 5.2 to PHP versions to test against 2013-11-10 11:02:18 +02:00