In case of `:linenos => 'table'` wrap a div around the table
A table directly in a <figure> is not semantic