pax_global_header00006660000000000000000000000064145331471120014513gustar00rootroot0000000000000052 comment=0fa402c458a4259c0035d6eb45d738ed9983c925 python-markdown2-2.4.11/000077500000000000000000000000001453314711200150235ustar00rootroot00000000000000python-markdown2-2.4.11/.github/000077500000000000000000000000001453314711200163635ustar00rootroot00000000000000python-markdown2-2.4.11/.github/ISSUE_TEMPLATE/000077500000000000000000000000001453314711200205465ustar00rootroot00000000000000python-markdown2-2.4.11/.github/ISSUE_TEMPLATE/bug_report.md000066400000000000000000000016071453314711200232440ustar00rootroot00000000000000--- name: Bug report about: Report a parsing error, unexpected output and other bugs title: '' labels: bug assignees: '' --- **Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Attach a minimal markdown snippet that causes the bug to occur. This should be placed inside a fenced code block to escape GitHub's formatting. If your snippet contains fenced code blocks then you can escape them by adding more backticks to the enclosing block. See the [this GitHub article](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks#fenced-code-blocks) for an example. **Expected behavior** A clear and concise description of what you expected to happen. **Debug info** Version of library being used: Any extras being used: **Additional context** Add any other context about the problem here. python-markdown2-2.4.11/.github/workflows/000077500000000000000000000000001453314711200204205ustar00rootroot00000000000000python-markdown2-2.4.11/.github/workflows/python.yaml000066400000000000000000000013121453314711200226220ustar00rootroot00000000000000name: PythonCI on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: ${{ matrix.os }} strategy: matrix: python-version: ["3.5", "3.6", "3.7", "3.8", "3.9", "3.10"] os: - ubuntu-20.04 - macos-latest - windows-latest steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | python -m pip install --upgrade pip pip install .[all] - name: Test run: | make testone python-markdown2-2.4.11/.gitignore000066400000000000000000000002431453314711200170120ustar00rootroot00000000000000*.pyc tmp deps/pygments deps/pygments3 dist MANIFEST build googlecode_upload.py perf/*.prof perf/tmp-*-cases sandbox/*.html __pycache__ .tox *.egg-info *.idea venvpython-markdown2-2.4.11/CHANGES.md000066400000000000000000000606401453314711200164230ustar00rootroot00000000000000# python-markdown2 Changelog ## python-markdown2 2.4.11 - [pull #524] Fix angles being escaped in style blocks (issue #523) - [pull #527] Fix base64 images being corrupted in safe mode (issue #526) - [pull #529] Add `breaks` extra with ability to hard break on backslashes (issue #525) - [pull #532] Fix #493 persisting when `code-friendly` extra enabled - [pull #535] Update `_slugify` to use utf-8 encoding (issue #534) - [pull #536] Maintain order of appearance in footnotes - [pull #538] Include HTML headers in TOC - [pull #540] Add mechanism to prevent header ID counter resetting (issue #530) ## python-markdown2 2.4.10 - [pull #520] Allow more relative links in safe mode (issue #517) - [pull #521] Always restore hashed HTML blocks (issue #185) - [pull #522] Add `middle-word-em` extra ## python-markdown2 2.4.9 - [pull #500] Add `` tag to html-classes extra - [pull #501] Fix link patterns extra matching against internal hashes - [pull #502] Replace deprecated `optparse` with `argparse` - [pull #506] Fix `_uniform_outdent` failing with empty strings (issue #505) - [pull #509] Fix HTML elements not unhashing correctly (issue 508) - [pull #511] Remove deprecated `imp` module (issue #510) - [pull #512] Allow link patterns to be passed via extras dict - [pull #513] Fix relative links not working in safe mode (issue #254) ## python-markdown2 2.4.8 - [pull #499] Fix images not being procesed correctly (#498) ## python-markdown2 2.4.7 - [pull #483] Fix hashing nested HTML blocks - [pull #486] Fix backslash being unable to escape raw HTML tags - [pull #482] Add support for telegram spoiler in extras - [pull #485] mermaid support - [pull #487] Fix escaping ampersands in hrefs - [pull #490] Fix indented codeblocks inside fences (#489) - [pull #490] Remove `code-color` extra ## python-markdown2 2.4.6 - [pull #477] Feature wavedrom support - [pull #480] Fix mixing ordered and un-ordered lists combining into single list type ## python-markdown2 2.4.5 - [pull #466] Add optional dependencies to `setup.py` ## python-markdown2 2.4.4 - [pull #439] Fix TypeError if html-classes extra is None - [pull #441] Remove Python2 support - [pull #445] Replace `` with `` in strike extra - [pull #446] Fix link patterns extra applying within links - [pull #443] create proper entry point - [pull #449] Codespans inside link text issue344 - [pull #451] Underline and HTML comments - [pull #453] Links with brackets - [pull #454] Fix emacs local variable one-liners - [pull #457] Example of the current mixed-paragraph mode behavior in lists - [pull #455] Fix code block indentation in lists - [pull #434] Fix filter bypass leading to XSS (#362) - [pull #464] Fix html-classes extra not applying to code spans - [pull #462] Fix pygments block matching - [pull #462] Fix pyshell blocks in blockquotes - [pull #463] Fix multilevel lists - [pull #468] Remove `_uniform_outdent_limit` function - [pull #470] Add support for ordered lists that don't start at 1. (#469) - [pull #472] Fix `AssertionError` with lazy numbered lists (issue #471) - [pull #475] Add `