Prevent 500 with badly formed task list (#11328)

Fix #11317

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
zeripath 2020-05-11 00:14:49 +01:00 committed by GitHub
parent c9187b8116
commit 742e26f5a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 29 additions and 23 deletions

View file

@ -192,9 +192,9 @@
list-style-type: none;
}
ul.task-list,
ol.task-list {
li.task-list-item {
list-style-type: none;
margin-left: calc(-2em + 2px);
}
ul ul,