Restore missing table captions

What does this MR do and why?

Fixes Table caption and footer are gone (#632638 - closed), scoped to caption. Regression introduced in Render plain HTML table (no GlTable) Vue compon... (!239559 - merged).

Restores <caption>, which was dropped because only <thead> / <tbody> were carried over when tables were replaced with sortable tables.

Screenshots

Note

The caption now renders inside the table frame, which it didn't before sortable tables. Not ideal, but at least the caption is back.

caption-rst

reStructuredText:
.. csv-table:: Grocery list
   :header: Item, Quantity

   Eggs, 2
   Milk, 1

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading