Skip to content

Commit 970fc3a

Browse files
committed
Allow start attribute for ol
1 parent 40eb1c8 commit 970fc3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/common/MarkdownRender.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ function filter(html: string) {
173173
'*': ['class', 'id', 'aria-hidden'],
174174
span: ['style'],
175175
input: ['type'],
176+
ol: ['start'],
176177
...katexWhitelist.attributes,
177178
},
178179
allowedStyles: {

0 commit comments

Comments
 (0)