-
Notifications
You must be signed in to change notification settings - Fork 898
Comparing changes
Open a pull request
base repository: Python-Markdown/markdown
base: 3.5.2
head repository: Python-Markdown/markdown
compare: 3.6
- 11 commits
- 22 files changed
- 4 contributors
Commits on Jan 14, 2024
-
MANIFEST.in: Include scripts/*.py in the generated source tarball
These scripts are needed for building the documentation.
Configuration menu - View commit details
-
Copy full SHA for 6425ffc - Browse repository at this point
Copy the full SHA 6425ffcView commit details
Commits on Jan 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 91f9a12 - Browse repository at this point
Copy the full SHA 91f9a12View commit details -
Configuration menu - View commit details
-
Copy full SHA for a2effd6 - Browse repository at this point
Copy the full SHA a2effd6View commit details
Commits on Jan 29, 2024
-
Update the license template so GitHub can detect it
The license remains BSD 3-Clause but with a better known text
Configuration menu - View commit details
-
Copy full SHA for ea92856 - Browse repository at this point
Copy the full SHA ea92856View commit details -
Ensure lines after heading in loose list are properly detabbed
This is a weird edge case. Normally, detabbing would be handled by the `ListIndentProcessor`. However, in this one case, that class's `get_level` method would need to return a different result than in any other case. As there is no way to easily determine this specific case from that class, we make the adjustment directly in the `HashHeaderProcessor` class. Fixes #1433.
Configuration menu - View commit details
-
Copy full SHA for c334a3e - Browse repository at this point
Copy the full SHA c334a3eView commit details
Commits on Feb 5, 2024
-
Give smarty tree processor higher priority than toc
And add a test for using smarty in ToC headers. Fixes #1438.
Configuration menu - View commit details
-
Copy full SHA for 421f1e8 - Browse repository at this point
Copy the full SHA 421f1e8View commit details
Commits on Mar 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a18765c - Browse repository at this point
Copy the full SHA a18765cView commit details
Commits on Mar 8, 2024
-
* All postprocessors are run on heading content. * Footnote references are stripped from heading content. Fixes #660. * A more robust `striptags` is provided to convert headings to plain text. Unlike, the `markupsafe` implementation, HTML entities are not unescaped. * The plain text `name`, rich `html` and unescaped raw `data-toc-label` are saved to `toc_tokens`, allowing users to access the full rich text content of the headings directly from `toc_tokens`. * `data-toc-label` is sanitized separate from heading content. * A `html.unescape` call is made just prior to calling `slugify` so that `slugify` only operates on Unicode characters. Note that `html.unescape` is not run on the `name` or `html`. * The `get_name` and `stashedHTML2text` functions defined in the `toc` extension are both **deprecated**. Instead, use some combination of `run_postprocessors`, `render_inner_html` and `striptags`. Co-authored-by: Oleh Prypin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e4ab4a6 - Browse repository at this point
Copy the full SHA e4ab4a6View commit details -
A alternate fix to #1444. This does not exclude the use of carrots or square brackets in abbreviations. It still excludes backslashse, however. I played with backslashes and it just doesn't make sense to support them as they have special meaning in the Markdown, not because of their use in regular expressions.
Configuration menu - View commit details
-
Copy full SHA for 9edba85 - Browse repository at this point
Copy the full SHA 9edba85View commit details
Commits on Mar 12, 2024
-
Allow attr_list quoted values to contain curly braces
How it worked before: * Extract the content without allowing any `}` in it, and require that it ends with `}` - for block elements anchored to the end of the line, otherwise not. * Parse the content in more detail. No edge cases with `}` can arise. If parsing is interrupted by some unrecognized token, discard the rest of the string. How it works now: * Extract the content *and allow* `}` in it, and require that it ends with `}` - for block elements it's anchored to the end of the line, otherwise not. * Parse the content in more detail. Allow `}` only within the quoted parts, otherwise interrupt parsing like for any other unrecognized token. If parsing is interrupted, there is remaining unrecognized text. Ideally perhaps we would bail out at this point entirely (and not recognize it as an attr_list), but to preserve historic behavior, any extra text before `}` is just discarded. If there is an extra `}` in the remaining text: * For block elements: that must mean that the attr_list syntax did not in fact terminate at the end of the line but earlier. So, bail out and do not register any attributes and do not change the original text. * For inline elements: that must mean that we just overmatched a bit, but that's OK, we just assign attrs as normal and put the extra text back into the string. As mentioned, any extra text *before* `}` is just discarded.Configuration menu - View commit details
-
Copy full SHA for 3d8afc6 - Browse repository at this point
Copy the full SHA 3d8afc6View commit details
Commits on Mar 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e524b8f - Browse repository at this point
Copy the full SHA e524b8fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.5.2...3.6