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

31 Commits

Author SHA1 Message Date
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
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
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
67b51794d8 implement fenced code block to resolve #2 2013-11-17 16:52:31 +02:00
Emanuil Rusev
30e436ec7d simplify tests 2013-11-16 02:05:31 +02:00
Emanuil Rusev
a4fb0651d5 resolve #27 2013-11-13 01:07:39 +02:00
Haralan Dobrev
1f347e17eb Allow multi-line emphasis. Fix #28. 2013-11-12 19:22:17 +02:00
Emanuil Rusev
a37f5ff31e improve tests 2013-11-10 10:44:52 +02:00
Emanuil Rusev
8e6f4cf7b8 leading spaces should not get trimmed 2013-11-09 22:23:56 +02:00
Emanuil Rusev
4403fe4d96 labels of reference links should be case insensitive 2013-11-08 21:59:26 +02:00
Emanuil Rusev
0e9202689e escaping of "<" breaks span-level html 2013-11-05 21:40:33 +02:00
Emanuil Rusev
7249d02cff code blocks get unwanted empty lines 2013-11-05 10:21:48 +02:00
Emanuil Rusev
b12973415f parse link references as blocks to improve performance 2013-11-05 00:57:16 +02:00
Emanuil Rusev
6d113f47fb rearrange block types to optimize performance 2013-11-04 09:28:50 +02:00
Emanuil Rusev
d4d3612710 escaping for special characters 2013-11-03 17:32:45 +02:00
Emanuil Rusev
2e314ad474 resolve #24 2013-11-02 21:42:55 +02:00
Emanuil
5dd40e7adf add test for horizontal rule 2013-09-24 22:53:42 +03:00
Emanuil
b9808f23e0 setext underlines should not work on interrupted paragraphs 2013-09-24 22:36:24 +03:00
Emanuil
d306ee3db5 improve tests 2013-09-24 01:09:13 +03:00
Emanuil
e15241cb92 remove incomplete tests 2013-09-24 01:00:20 +03:00
Emanuil
bc27850c41 improve emphasis test 2013-09-03 00:15:25 +03:00
Emanuil
a94a45f955 reference_link test should reference md.png with a relative path 2013-09-02 22:12:43 +03:00
Emanuil
4af89c5087 reference links should be able to have their names on the next line 2013-08-31 22:27:38 +03:00
Emanuil
8ac52a2f30 resolve #17 2013-08-31 19:55:07 +03:00
Emanuil
609ad47c38 resolve #16 2013-07-26 00:08:52 +03:00
Emanuil
5aad1d42d2 inline links should work with images 2013-07-25 01:33:40 +03:00
hkdobrev
7ace421f6d Better parsing of emphasis and strong elements
- Regex is based on original Perl regex.
 - Added more tests.
2013-07-23 01:03:18 +03:00
Emanuil
69de4c46d5 rename tests/ to data/ 2013-07-21 18:46:37 +03:00