Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Python-Markdown/markdown
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.5.1
Choose a base ref
...
head repository: Python-Markdown/markdown
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.5.2
Choose a head ref
  • 16 commits
  • 39 files changed
  • 5 contributors

Commits on Nov 1, 2023

  1. Correct the declarations of I/O buffers as bytes-based

    * Correctly declare the parameter annotations as `BinaryIO`, because in fact it works only with byte-based buffers.
    
    * `sys.stdin.read()` is always a string, so remove the Python2-specific check.
        * Correct the patch in the test which incorrectly sets `sys.stdin` to a bytes buffer which it never is.
    
    * `sys.stdout.buffer` always exists, so remove the Python2-specific fallback.
        * Correct the patch in the test which incorrectly sets `sys.stdout` to a bytes buffer which it never is. And fix a matching mistake because this necessitated `stdout.read().decode()`.
    oprypin authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8e517de View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Update Docs deployment

    Switch to a different action (cpina/github-action-push-to-another-repository) which has worked in testing (see https://github.com/waylan/test-repo-source).
    
    Also updated the version of many actions in all workflows to eliminate various warnings we have been getting of late.
    waylan authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    5cbabe1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    85d0c18 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    040b617 View commit details
    Browse the repository at this point in the history
  4. Fix typo in attribute name

    There are no other references to `content_indention`, and it seems that there were no problems with this only because the other line `self.content_indent = indent` kicks in in all relevant situations.
    oprypin authored and waylan committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    87249be View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Fix edge-case crash in codehilite

    If there is an empty `<pre><code></code></pre>` inserted by another extension, there can be an exception. The added test case was crashing before this change.
    oprypin authored and waylan committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    f5b151a View commit details
    Browse the repository at this point in the history
  2. Fix edge-case crash in InlineProcessor

    If an inlineprocessor returns an AtomicString (even though that is pointless, a plain string is atomic in that context), there can be an exception in 2 separate places. The added test case was crashing before this change.
    oprypin authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    a63e6f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Update docs deploy scripts

    The update in 5cbabe1 didn't provide for a .nojekyll file, which is necessary when publishing to GitHub Pages to avoid Jekyll messing with our statically generated documentation.
    
    Also added a user input to the manual deploy script which allows deploying from any past reference (tag or commit).
    waylan authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    dcd69b1 View commit details
    Browse the repository at this point in the history
  2. Fix a minor oversight in #1407

    waylan authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    dac7977 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b06df2 View commit details
    Browse the repository at this point in the history
  4. Split changelog workflows to separate logic on when each gets run.

    Also fix a typo (`path=>paths`).
    waylan authored Nov 6, 2023
    Configuration menu
    Copy the full SHA
    bc14d59 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Fix missing search in docs

    Fixes #1416.
    facelessuser authored Nov 13, 2023
    Configuration menu
    Copy the full SHA
    5d7f255 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Update Changelog URL

    eric-rm authored Nov 20, 2023
    Configuration menu
    Copy the full SHA
    cef5afe View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Update change log link in README.md

    dbader authored and waylan committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    a2a9c53 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Fix handling of bogus comments.

    As with most implementations, we now pass through bogus comments (as
    defined by the HTML Spec) unaltered except that they are HTML escaped.
    This deviates from the reference implementation which completely ignores
    them. As the reference implementation seems to not have even contemplated
    their existence, it is not being used as a reference in this instance.
    Fixes #1425.
    waylan authored Jan 3, 2024
    Configuration menu
    Copy the full SHA
    e466f38 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Bump version to 3.5.2

    waylan committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    08dacae View commit details
    Browse the repository at this point in the history
Loading