Skip to content

Commit c88dd6e

Browse files
committed
Merge branch 'master' into repair_ReDoS
Resolve merge conflicts, remove lookbehinds from code friendly regexes
2 parents 0eafad6 + d61a7e1 commit c88dd6e

File tree

60 files changed

+736
-98
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+736
-98
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Report a parsing error, unexpected output and other bugs
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
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.
15+
16+
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.
17+
18+
**Expected behavior**
19+
A clear and concise description of what you expected to happen.
20+
21+
**Debug info**
22+
Version of library being used:
23+
24+
Any extras being used:
25+
26+
**Additional context**
27+
Add any other context about the problem here.

CHANGES.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
# python-markdown2 Changelog
22

3-
## python-markdown2 2.4.7 (not yet released)
3+
## python-markdown2 2.4.11 (not yet released)
4+
5+
- [pull #524] Fix angles being escaped in style blocks (issue #523)
6+
- [pull #527] Fix base64 images being corrupted in safe mode (issue #526)
7+
- [pull #529] Add `breaks` extra with ability to hard break on backslashes (issue #525)
8+
9+
## python-markdown2 2.4.10
10+
11+
- [pull #520] Allow more relative links in safe mode (issue #517)
12+
- [pull #521] Always restore hashed HTML blocks (issue #185)
13+
- [pull #522] Add `middle-word-em` extra
14+
15+
16+
## python-markdown2 2.4.9
17+
18+
- [pull #500] Add `<thead>` tag to html-classes extra
19+
- [pull #501] Fix link patterns extra matching against internal hashes
20+
- [pull #502] Replace deprecated `optparse` with `argparse`
21+
- [pull #506] Fix `_uniform_outdent` failing with empty strings (issue #505)
22+
- [pull #509] Fix HTML elements not unhashing correctly (issue 508)
23+
- [pull #511] Remove deprecated `imp` module (issue #510)
24+
- [pull #512] Allow link patterns to be passed via extras dict
25+
- [pull #513] Fix relative links not working in safe mode (issue #254)
26+
27+
28+
## python-markdown2 2.4.8
29+
30+
- [pull #499] Fix images not being procesed correctly (#498)
31+
32+
33+
## python-markdown2 2.4.7
434

535
- [pull #483] Fix hashing nested HTML blocks
636
- [pull #486] Fix backslash being unable to escape raw HTML tags

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ gitbra (github.com/gitbra)
5858
Max Omdal (github.com/momja)
5959
Kishore (github.com/jk6521)
6060
Ircama (github.com/Ircama)
61+
Ankit Mahato (github.com/animator)

0 commit comments

Comments
 (0)