File tree 2 files changed +20
-1
lines changed
2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Change Log
2
2
3
+ ## 0.4.2 - 2024-09-09
4
+
5
+ - π Improve parsing of nested amsmath
6
+
7
+ The previous logic was problematic for amsmath blocks nested in other blocs (such as blockquotes)
8
+
9
+ The new parsing code now principally follows the logic in ` markdown_it/rules_block/fence.py `
10
+ (see also < https://spec.commonmark.org/0.30/#fenced-code-blocks > ),
11
+ except that:
12
+
13
+ 1 . it allows for a closing tag on the same line as the opening tag, and
14
+ 2 . it does not allow for an opening tag without closing tag (i.e. no auto-closing)
15
+
16
+ - β¨ Add ` allowed ` option for inline/block attributes
17
+
18
+ The ` allowed ` option accepts a list of allowed attribute names.
19
+ If not `` None `` , any attributes not in this list will be removed
20
+ and placed in the token's meta under the key ` "insecure_attrs" ` .
21
+
3
22
## 0.4.1 - 2024-05-12
4
23
5
24
* π Add option for footnotes references to always be matched
Original file line number Diff line number Diff line change 1
- __version__ = "0.4.1 "
1
+ __version__ = "0.4.2 "
You canβt perform that action at this time.
0 commit comments