Skip to content

Commit

Permalink
Merge branch 'master' into repair_ReDoS
Browse files Browse the repository at this point in the history
Resolve merge conflicts, remove lookbehinds from code friendly regexes
  • Loading branch information
Crozzers committed Sep 24, 2023
2 parents 0eafad6 + d61a7e1 commit c88dd6e
Show file tree
Hide file tree
Showing 60 changed files with 736 additions and 98 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
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.
32 changes: 31 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,36 @@
# python-markdown2 Changelog

## python-markdown2 2.4.7 (not yet released)
## python-markdown2 2.4.11 (not yet released)

- [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)

## 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 `<thead>` 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
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,4 @@ gitbra (github.com/gitbra)
Max Omdal (github.com/momja)
Kishore (github.com/jk6521)
Ircama (github.com/Ircama)
Ankit Mahato (github.com/animator)
Loading

0 comments on commit c88dd6e

Please sign in to comment.