File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,21 @@ The following new features have been included in the 3.3 release:
66
66
Any random HTML attribute can be defined and set on the ` <code> ` tag of fenced code
67
67
blocks when the ` attr_list ` extension is enabled (#816 ).
68
68
69
+ * The HTML parser has been completely replaced. The new HTML parser is built on Python's
70
+ [ html.parser.HTMLParser] ( https://docs.python.org/3/library/html.parser.html ) , which
71
+ alleviates various bugs and simplify maintenance of the code (#803 , #830 ).
72
+
73
+ * The [ Markdown in HTML] ( ../md_in_html.md ) extension has been rebuilt on the new HTML
74
+ Parser, which drastically simplifies it. Note that raw HTML elements with a ` markdown `
75
+ attribute defined are now converted to ElementTree Elements and are rendered by the
76
+ serializer. Various bugs have been fixed (#803 , #595 , #780 , and #1012 ).
77
+
78
+ * Link reference parsing, abbreviation reference parsing and footnote reference parsing
79
+ has all been moved from ` preprocessors ` to ` blockprocessors ` , which allows them to be
80
+ nested within other block level elements. Specifically, this change was necessary to
81
+ maintain the current behavior in the rebuilt Markdown in HTML extension. A few random
82
+ edge-case bugs (see the included tests) were resolved in the process (#803 ).
83
+
69
84
## Bug fixes
70
85
71
86
The following bug fixes are included in the 3.3 release:
You can’t perform that action at this time.
0 commit comments