Commit graph

513 commits

Author SHA1 Message Date
mdewilde
f53122e71b Update Readme.md
Correct probably typo
2016-08-25 13:31:36 +02:00
Viktor Szakats
0bec870817 Restore https after f5cd0dbcf4 2016-07-13 22:57:33 +02:00
Michel Fortin
657d382ce7 Added history entry about PHPDoc comments. 2016-03-13 20:45:27 -04:00
Michel Fortin
6b4f89fd19 Merge branch 'issue/98-phpdoc-comments' of git://github.com/robbieaverill/php-markdown into lib
Reverted some changes to Readme.php and the .inc files and corrected a syntax error in MarkdownExtra.php.
2016-03-13 20:44:48 -04:00
Michel Fortin
70adbae116 Adding release notes for changes in previous commit. 2016-03-13 20:43:45 -04:00
Robbie Averill
aee1b20499 Fixed author references 2016-03-04 08:28:21 +13:00
Robbie Averill
f5cd0dbcf4 [#98] Changing to PHPDoc comments 2016-03-03 13:39:53 +13:00
Floris
9fa8f87f20 Allow custom content function for code span
Just like the option `$code_block_content_func`, but now for code-span.
Can be used to prevent the default `htmlspecialchars` or do some kind
of other logic to convert the code to html.
2016-02-04 11:42:43 +01:00
Michel Fortin
156e56ee03 Reversionned 1.5.1 as 1.6.0 to respect the versioning policy. 2015-12-23 20:37:31 -05:00
Michel Fortin
155287e422 Bumped version to 1.5.1. 2015-12-22 13:18:12 -05:00
Michel Fortin
4482d30bb0 Fix for unnecessary backtracking in the special attribute block regex.
Fixes #213.
2015-12-03 21:02:24 -05:00
Michel Fortin
f0911e737d Merge branch 'okdana-lib' into lib 2015-10-16 21:20:48 -04:00
Michel Fortin
8c45ad58f4 Updating Readme file for footnote backlink changes. 2015-10-16 21:19:16 -04:00
Michel Fortin
e1e3fc2a01 Renaming fn_backlink_text to fn_backlink_html to clarify that this is HTML content. 2015-10-16 21:13:21 -04:00
dana
e244a9e33a Made fn_backlink_text user-configurable, added U+FE0E to prevent iOS emoji display 2015-10-16 16:37:20 -05:00
Michel Fortin
37a75bfac8 Merge branch 'code_block_content_func' into lib 2015-08-04 17:30:50 -04:00
Michel Fortin
c9220d1bb3 Finalization of fenced code block improvements by Mario Konrad:
- Moving `code_block_content_func` configuration variable to regular Markdown parser, now using it to convert the content of indented code blocks to HTML too.
- Fix for code block class name and special attribute blocks together.
- Updated the fenced code block syntax in the HTML block parser (so it correctly skips those code blocks).
- Updated Readme.md to explain the changes.
2015-08-04 17:29:59 -04:00
Michel Fortin
942bf343dd Merge pull request #207 from vszakats/https
use https in URLs where possible
2015-07-05 16:37:59 -04:00
Viktor Szakats
2eaa375f52 use https in URLs where possible 2015-07-01 21:40:16 +02:00
Mario Konrad
3ace64bc13 Revised matcher to disallow a standalone point. Also reduced catcher group by one. 2015-04-18 19:14:33 +02:00
Mario Konrad
8fde858541 Added support for language and attributes (both optional) for code blocks. 2015-04-17 22:37:52 +02:00
Mario Konrad
eb2a0e012c Have the optional code_block_content_func only replace htmlspecialchars. 2015-04-17 00:30:42 +02:00
Mario Konrad
1df2655b8b Optional code block content function added. 2015-04-16 21:56:41 +02:00
Michel Fortin
e1aabe1817 Set version number to 1.5.0 (as it should have been), updated URLs to website. 2015-03-01 07:03:08 -05:00
Michel Fortin
ec8a9efb24 Moving the MarkdownExtra class where it belongs. 2015-02-28 22:52:19 -05:00
Michel Fortin
edd288cdc8 Updated version number, copyright year. 2015-02-28 22:48:32 -05:00
Michel Fortin
089b0ca37b Added enhanced ordered lists to Readme. 2015-02-28 22:41:24 -05:00
Michel Fortin
1e17706669 Merge branch 'lib' of git://github.com/mattgorle/php-markdown into lib
Conflicts:
	Michelf/Markdown.php
2015-02-28 22:17:31 -05:00
Michel Fortin
8b1d05ff83 Updated version history. 2015-02-28 21:23:34 -05:00
Michel Fortin
2506a6b657 Merge branch 'lib' of git://github.com/evert/php-markdown into lib 2015-02-28 20:52:43 -05:00
Evert Pot
9545615b3a Fixed header generation. Silly mistake. 2015-02-28 17:22:57 -05:00
Evert Pot
6ceb7ceb8c Oops. Needs an extra space here. 2015-02-26 16:28:15 -05:00
Evert Pot
ce512533dc Moved some common functionality in a method. Encoding changes. 2015-02-26 16:27:05 -05:00
Evert Pot
5b576b2c24 Tabs, not spaces. 2015-02-26 15:05:41 -05:00
Evert Pot
49c9cfe063 Correct escaping for html attributes. 2015-02-26 15:00:25 -05:00
Evert Pot
c7f15db5f0 Automatic id="" attribute generation. 2015-02-26 14:58:43 -05:00
Michel Fortin
1b5a30e139 Added custom HTML attributes to version history. 2014-12-07 21:09:55 -05:00
Michel Fortin
d3ef823223 Merge branch 'add-attribute-support' of git://github.com/attiks/php-markdown into lib 2014-12-07 21:06:30 -05:00
Michel Fortin
184fdd3cf1 Added latest change to version history. 2014-12-07 21:05:23 -05:00
Peter Droogmans
abb587aa86 only explode in 2 parts 2014-12-07 19:29:38 +01:00
Peter Droogmans
7ff3e59845 do nut use : as a prefix 2014-12-07 17:55:15 +01:00
Peter Droogmans
08b16661f3 check for no_markup flag 2014-12-07 17:16:32 +01:00
Peter Droogmans
bda98d1c33 Add support for any attribute 2014-12-07 16:46:09 +01:00
Michel Fortin
a8c56ecd5e Adding url_filter_func configuration variable.
All URLs are now passed through the `encodeURLAttribute` function, which applies the filter as necessary. If the filter function changes the URL of an automatic link, this is reflected in the text of the link too.
Inline- and reference-style email links now benefit from the entity obfuscation since `mailto:` is now detected in `encodeURLAttribute` and it triggers the entity obfuscation.

Fixes #85.
2014-08-10 15:25:52 -04:00
Michel Fortin
123c43a65c Merge pull request #165 from donatj/patch-1
Remove trailing ?>
2014-05-15 15:49:30 -04:00
Jesse Donat
15b78173a9 Remove trailing ?> 2014-05-14 16:57:13 -05:00
Michel Fortin
de9a19c7bf Added donation section in Readme. 2014-05-04 22:43:50 -04:00
Michel Fortin
0fc413a1f9 Bumped version to 1.4.1, updated version history and copyright year. 2014-05-04 21:52:07 -04:00
Michel Fortin
b39fb9b4bc Hack to fix [link](<s p a c e s>).
Fixes #80.
2014-05-04 21:30:14 -04:00
Michel Fortin
c0a3a825d4 HTML block parser now aware of the style tag.
Fixes #103.
2014-05-04 21:12:28 -04:00