php-markdown icon indicating copy to clipboard operation
php-markdown copied to clipboard

Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.

Results 111 php-markdown issues
Sort by recently updated
recently updated
newest added

PHP Deprecated: preg_match_all(): Passing null to parameter 2 ($subject) of type string is deprecated in /var/www/dprp/vendor/michelf/php-markdown/Michelf/MarkdownExtra.php on line 232 Line 227 checks for empty $attr && no default ID value...

The following does not produce an \ tag in Markdown Extra. ``` Some markdown explaining how to use the AB&D process. *[AB&D]: Automated Build & Distribution ``` When you remove...

Re #387 - I've created a function which adds truncated title text to footnote links, and I've added some tests to show what it does. Very happy for any comments...

Footnote links' titles can only be set once by the library. This change would make the attribute display the content of the footnote. ### How At the moment, if a...

How to enter multiple attributes for rel? php-markdown [2.0.0](https://github.com/michelf/php-markdown/releases/tag/2.0.0) ``` $parser = new MarkdownExtra; $parser->empty_element_suffix = ">"; $url = $parser->transform([Link](url){.link target=_blank rel=noreferrer noopener}); echo $url; ``` This results `Link` noopener...

As discussed in https://github.com/michelf/php-markdown/issues/326. It's not pretty but it seems to work.

This currently throws a `TypeError` if `$parts` is `false`, which is a valid return value for `preg_split`.

Hi, with both `Markdown` and `MarkdownExtra` there are issues with very long content like inline images. https://github.com/michelf/php-markdown/blob/51613168d71787b0fe8472166ccbfa8d285c02cd/Michelf/MarkdownExtra.php#L1065-L1071 and also the simpler https://github.com/michelf/php-markdown/blob/51613168d71787b0fe8472166ccbfa8d285c02cd/Michelf/Markdown.php#L903-L904 lead to "Backtrack limit exhausted" errors and empty...

Fix php deprecated notice improving handling of null parsed attr values