Fixed
- Fix cases in new emphasis handling that did not handle long chains of tokens
like they should (#1690). - Fix quadratic-time parsing of many consecutive reference definitions, and of
many consecutive footnote definitions in thefootnotesextension. - Support automatic links with URL schemes other than HTTP and FTP, such as
<ssh://example.org>(#1244). - Fix quadratic-time id generation in the
tocextension when many headers
share the same text. - Ignore glossary abbreviations with empty definitions after inline elements,
consistently with abbreviations before inline elements. - Strip complete HTML tags with quoted
>characters fromtoclabels and
generated heading IDs. - Fix quadratic-time regex backtracking in
attr_listwhen a block ends with an
unclosed attribute list followed by a long run of spaces, e.g. a line
consisting only of{and some text with many trailing spaces (#1656). - Fix quadratic-time regex backtracking in hash headers when a long run of
#
characters is followed by more text on the same line. - Fix quadratic time when a document contains many unclosed HTML comments (
<!--
with no matching-->). - Fix regression in
BacktickInlineProcessorwhere text could be lost when opening
and closing backticks did not match (#1668). - Escape the language name in the
codehiliteextension's non-Pygments output to
maintain consistency with Pygments output. - Preserve attributes without a value in the
attr_listextension exactly as
provided, rather than rendering them askey="key", so the same source
renders consistently under both thehtmlandxhtmloutput formats
(#1501).