Asciidoc too much vertical spacing in lists and table

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

In asciidoc documents in wiki, there is too much vertical spacing between items of lists and after text in table.

Steps to reproduce

Compare following asciidoc in gitlab (e.g. wiki) and for reference generate HTML page with asciidoctor (or view in https://asciidoclive.com/).

* item1
* item2
* item3

|=======================
|Col 1|Col 2 |Col 3
|=======================

What is the current bug behavior?

Paragraph elements in lists and table have bottom margin 16px, as standard paragraphs.

What is the expected correct behavior?

Paragraph elements in lists should have bottom margin 10px.

Paragraph elements in tables should have bottom margin 0px (and probably the class tableblock).

Relevant logs and/or screenshots

gitlab wiki

image

reference html with asciidoctor

image

Results of GitLab environment info

GitLab Community Edition v16.8.1

Edited by 🤖 GitLab Bot 🤖