This repository was archived by the owner on Feb 24, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1
1
## 7.2.3
2
2
3
3
* Fix an issue with checkbox list items separated with blank lines (#602 ).
4
+ * Require package ` web: '>=0.4.2 <2.0.0' ` .
4
5
5
6
## 7.2.2
6
7
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ void main() {
69
69
void _renderMarkdown ([Event ? event]) {
70
70
final markdown = markdownInput.value;
71
71
72
- htmlDiv.innerHTML = md.markdownToHtml (markdown, extensionSet: extensionSet);
72
+ htmlDiv.innerHtml = md.markdownToHtml (markdown, extensionSet: extensionSet);
73
73
74
74
for (final block in htmlDiv.querySelectorAll ('pre code' ).items) {
75
75
try {
@@ -139,3 +139,10 @@ extension on NamedNodeMap {
139
139
if (getNamedItem (qualifiedName) != null ) removeNamedItem (qualifiedName);
140
140
}
141
141
}
142
+
143
+ extension on HTMLDivElement {
144
+ // The default implementation allows `JSAny` to support trusted types. We only
145
+ // use `String`s, so prefer this to avoid manual conversions.
146
+ @JS ('innerHTML' )
147
+ external set innerHtml (String value);
148
+ }
Original file line number Diff line number Diff line change @@ -30,5 +30,5 @@ dev_dependencies:
30
30
pool : ^1.5.1
31
31
tar : ^1.0.3
32
32
test : ^1.16.0
33
- web : ' >=0.4.2 <0.6 .0'
33
+ web : ' >=0.4.2 <2.0 .0'
34
34
yaml : ^3.0.0
You can’t perform that action at this time.
0 commit comments