Path to this page:
Subject: CVS commit: pkgsrc/textproc/p5-Pod-Markdown
From: Wen Heping
Date: 2015-10-17 14:39:25
Message id: 20151017123925.814A798@cvs.netbsd.org
Log Message:
Update to 3.003
Upstream changes:
3.003 2015-09-28T00:29:45Z
- Bump Pod::Simple prereq to fix bugs that were causing test failures.
- Use Pod::Simple's nbsp_for_S(1) by default instead of handling S<> \
sequences internally.
This means the feature can now also be disabled if desired.
- Portability improvements for non-ascii platforms.
3.002 2015-08-21T03:24:24Z
- Add attribution to changelog.
3.001 2015-08-21T03:17:57Z
- Increase Pod::Simple requirement to 3.26 for detected_encoding().
Thanks to Lee J for reporting! (gh-15).
3.000 2015-08-16T21:55:14Z
[Bug Fixes]
- Literal ampersands and left angle brackets are encoded as html entities
when necessary to avoid interpretation as html.
\
http://stackoverflow.com/questions/28496298/escape-angle-brackets-using-podmarkdown
[API Changes]
- Make accessors read/write (instead of read-only)
for consistency with Pod::Simple classes.
- Passing unknown arguments to the constructor now produces a warning
and in the future may throw an error.
- For consistency with the other html-entity changes, NBSP characters (U+00A0)
are now used literally for S<> sequences.
This also fixes a bug with code spans nested inside of S<> sequences.
[New Attributes]
- Add `html_encode_chars` attribute to allow customizing what characters
should be html entity encoded.
- Add `match_encoding` attribute to use the same encoding as the input pod
when writing to the output handle.
- Add `output_encoding` attribute to specify the desired encoding
to apply to the output handle.
[pod2markdown script]
- Add command line options corresponding to new module attributes.
- The script now defaults to UTF-8 encoding if no encoding options are specified.
Previous versions did not produce consistent output and would sometimes emit \
warnings.
Closes gh-14 and rt-101536.
[Documentation]
- Remove documentation for deprecated API
(parse_from_file(), parse_from_filehandle(), and as_markdown())
to further discourage use.
[New Packages]
- Added Pod::Perldoc::ToMarkdown to enable `perldoc -o Markdown ...`
Pod::Markdown maintains a backward compatible interface that is incompatible
with perldoc's `-o` so this module has been added to enable the functionality.
Thanks to Alberto Simç¹es for investigating (gh-12) and providing some \
code to fix it (gh-13).
Files: