You can change this using a different CSS than the default. Here is an example theme file to use
format:
html:
theme:
- styles.scss
/*-- scss:defaults --*/
/*-- scss:rules --*/
main {
ol ol,
ul ul,
ol ul,
ul ol {
/* remove margin bottom under nested list item */
margin-bottom: unset;
}
ul p {
/* remove margin under paragraph inside list */
margin-bottom: 0.2rem;
}
}
Regarding bug or not, this is a matter of default style. It could be by design (as done like this since a long time) but can be revisited too. I would open an issue or discussion in GitHub - quarto-dev/quarto-cli: Open-source scientific and technical publishing system built on Pandoc. so that we can discuss with the dev team.
thanks