According to http://www.drupalcontrib.org/api/drupal/drupal!core!includes!theme.inc/function/theme_table/8
I created a table in my custom page in Drupal 8.
$build = [ 'table' => [ '#theme' => 'table', '#header' => $header, '#rows' => $rows, ], ]; return $build;
Example of the first row.
$row = [ 'billing' => [ 'data' => $invoice . '<small>' . $label . '</small>', ],
In my page the <small>
tag is displayed as it and not rendered as HTML tag. I tried to add attributes => ['html']
or this kind of option but it does not work.
How can I render HTML markup in theme_table()
?