Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Text-Markup.
2
3 0.42 2026-09-26T16:59:34Z
4 - Fixed over-aggressive HTML encoding from Pod files in more recent
5 releases of Pod::Simple::XHTML (#31).
6 - Ceased to encode single quotation marks (`'`) in HTML generated from Pod.
7
8 0.41 2025-12-18T14:19:18Z
9 - Tweaked the Markdown configuration to generate IDs for headers and to
10 parse and emit footnotes and "smartypants" punctuation.
11 - Added the `flags` parameter to Text::Markup::Markdown::parse, which
12 replaces the default flags.
13
14 0.40 2025-12-15T00:10:26Z
15 - Fixed typo in `Build.PL` that prevented the recommendation to install the
16 CommonMark module.
17 - Replaced Text::Markdown with Text::Markdown::Discount, as it seems better
18 maintained and supports tables, code fences, definition lists, and more.
19 - Fixed p3rl.org URLs in tests.
20 - Fixed links to markup parsers incorrectly pasted as Text::Markdown.
21
22 0.33 2024-02-15T20:12:54Z
23 - Added support for registering a regular expression for Text::Markup::None
24 by passing it in the `use` statement. The None parser otherwise is only
25 the fallback parser used by `parse()` when Text::Markup cannot determine
26 which parser to use.
27
28 0.32 2024-02-08T03:25:18Z
29 - Added the ability to change the regular expression for a format by
30 passing it in the `use` statement.
31
32 0.31 2023-09-10T23:24:43Z
33 - Fixed the passing of parameters to `parse()`.
34 - Documented the parameters passable to `parse()` for each parser.
35
36 0.30 2023-09-10T16:42:18Z
37 - Removed very old custom paths to `docutils` (reST) and `asciidoc`
38 binaries on Windows. Users must ensure that the proper commands are
39 in the PATH, instead.
40 - Added Text::Markup::Asciidoctor, which uses the `asciidoctor` command,
41 as a updated alternative to Text::Markup::Asciidoc, which uses the
42 legacy `asciidoc` command. Text::Markup will not use this formatter by
43 default, but when explicitly loaded will be used instead of
44 Text::Markup::Asciidoc.
45 - Added Text::Markup::CommonMark, which uses the cmark library, via the
46 CommonMark module. Text::Markdown will not use this formatter by
47 default, but when explicitly loaded will be used instead of
48 Text::Markup::Markdown.
49 - De-duped the utilities for managing external commands from the Rest and
50 Asciidoc modules into Text::Markdown::Cmd.
51
52 0.25 2023-09-04T22:20:13Z
53 - Fixed the importation of Pod::Simple::XHTML, Text::Trac, Text::Textile,
54 and Text::MediawikiFormat to use the correct syntax for requiring a
55 minimum version. Thanks to Graham Knop for the PR (#27)!
56 - Fixed a reStructuredText test failure on newer versions of `docutils`.
57 - Moved development test dependencies from recommended prereqs to
58 development prereqs.
59 - Increased the minimum required Module::Build version to 0.4209.
60 - Added GitHub Workflows for testing and releasing and removed Travis
61 testing. Test on Perl 5.8 - 5.38 on Linux, macOS, an Windows.
62 - Fixed bugs executing Rest and Asciidoc on Windows.
63 - Updated Asciidoc ot find `asciidoc.bat` and `asciidoc.exe` on Windows.
64
65 0.24 2019-12-12T00:53:25Z
66 - Added missing `<head>` tag to all output. Thanks to Axel Beckert for
67 the pull request (#16, #18)!
68 - Added the `format_matchers` class method, which returns a list of
69 formats and the regular expressions that match them.
70 - Added `use warnings;` to all modules, thanks to a patch from John SJ
71 Anderson (#22).
72 - Added support for a `--raw` option to the markup modules for which it
73 makes sense. This option allows markup to be output without wrapping
74 it in a minimal HTML skeleton. Thanks to John SJ Anderson for the
75 patch (#2, #24)!
76 - Ported reST to Python 3. Thanks to gregor herrmann for the PR (#26).
77
78 0.23 2015-05-21T06:23:35Z
79 - Added BBcode and Creole to the module description.
80 - Fixed a failing test for the Mediawiki format due to a change in CGI
81 v4.14. This reverses the workaround required by CGI 4.11, introduced
82 in v0.20. Not that you care. It's just a test change.
83 - Updated the Pod parser to determine the indentation of verbatim blocks
84 by the line with the shortest leading whitespace, rather than the
85 whitespace of just the first line. Inspired by an equivalent approach
86 in Mojolicious by Joel Berger.
87
88 0.22 2015-02-20T03:52:36Z
89 - Added support for Creole. Thanks to Lucas Kanashiro for the patch!
90
91 0.21 2015-02-17T00:18:20Z
92 - Fixed description of Asciidoc and added it to the README.
93 - Added support for BBcode. Thanks to Lucas Kanashiro for the patch!
94
95 0.20 2015-01-22T00:54:50Z
96 - Fixed a failing test for the Mediawiki format due to a change in CGI
97 v4.11. Thanks to Andreas Koenig for the report and diagnosis.
98
99 0.19 2014-02-07T04:00:56Z
100 - Fixed Pod markup so that it does not strip text from the first line of
101 verbatim blocks.
102 - Removed the `--safe` option from Asciidoc. It is just borked with the
103 XHTML back end.
104
105 0.18 2013-06-08T23:24:09Z
106 - Now require HTML::Tagset, since Text::MediawikiFormat seems to need it
107 but only recommends it.
108 - Removed all Pod tests from the distribution.
109 - Updated reST to support docutils 0.7 - 0.10 and when Pygments is not
110 available. Daniele Varrazzo.
111
112 0.17 2012-02-28T04:31:07Z
113 - Added Asciidoc support.
114
115 0.16 2012-02-13T17:23:00Z
116 - Rest support now uses its own implementation of `rst2html` so that it
117 can render specialized reST documents, such as Sphinx files, in a more
118 forgiving way: it preserves the content of unknown directives while
119 not emulating specialized rendering. Written by Daniele Varrazzo.
120 - Improved handling of Sphinx directives in Rest output. Most directives
121 are stripped out, although `function` directives now turn out much
122 nicer. Props to Daniele Varrazzo for the work on the Rest parser.
123 - Fixed character encoding issues with the Rest parser.
124 - Fixed a character encoding issue in the test suite.
125
126 0.15 2012-01-13T23:04:16Z
127 - Changed the parsers to return `undef` if no content was parsed from a
128 file.
129 - Added reST support, with thanks to Daniele Varrazzo.
130
131 0.14 2011-10-09T17:45:28Z
132 - Added option processing to the Pod parser. Thanks to Mark Allen for
133 the pull request.
134
135 0.13 2011-05-21T15:33:28
136 - Fixed broken regular expression in the Pod parser that could eat the
137 first line of a verbatim block.
138
139 0.12 2011-04-04T23:16:12
140 - Documented that the `file` parameter to `parse()` is required.
141 - Added MultiMarkdown support.
142 - Fixed test failure in `t/formats.t` when no supported markup parser
143 is installed.
144
145 0.11 2011-02-22T22:41:15
146 - Added list of supported markups to the README.
147 - Fixed test failures on Perls earlier than 5.12.
148
149 0.10 2011-02-22T19:45:27
150 - Initial version. Includes parsers for:
151 + HTML
152 + Markdown
153 + MediaWiki
154 + Pod
155 + Textile
156 + Trac