PHP Markdown Lib 1.7.0 (29 Oct 2016)
Added a hard_wrap
configuration variable to make all newline characters
in the text become <br>
tags in the HTML output. By default, according
to the standard Markdown syntax these newlines are ignored unless they a
preceded by two spaces. Thanks to Jonathan Cohlmeyer for the implementation.
Improved the parsing of list items to fix problematic cases that came to
light with the addition of hard_wrap
. This should have no effect on the
output except span-level list items that ended with two spaces (and thus
ended with a line break).
Added a code_span_content_func
configuration variable which takes a
function that will convert the content of the code span to HTML. This can
be useful to implement syntax highlighting. Although contrary to its
code block equivalent, there is no syntax for specifying a language.
Credits to styxit for the implementation.
Fixed a Markdwon Extra issue where two-space-at-end-of-line hard breaks
wouldn't work inside of HTML block elements such as <p markdown="1">
where the element expects only span-level content.
In the parser code, switched to PHPDoc comment format. Thanks to Robbie Averill for the help.
Packaging change:
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2016-c889de3d9d
Please log in to add feedback.
This update has been submitted for testing by remi.
This update has been pushed to testing.
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by remi.
This update has been pushed to stable.