Use HTML tags inside rows of a table in a render array I'm creating a table within a render array.
I can easily create rows within the table like so

$rows = [
    'test 1',
    'test 2',
    'test 3',
];
$header = [
    'header 1',
    'header 2',
    'header 3',
];
$render['table'] = [
  '#theme' =&gt; 'table',
  '#header' =&gt; $header,
  '#rows' =&gt; $rows,
]; 


However when I attempt to include html tags within the row like so:

$rows = [
    '&lt;a href="test1"&gt;test 1&lt;/a&gt;',
    '&lt;a href="test2"&gt;test 2&lt;/a&gt;',        
    '&lt;a href="test3"&gt;test 3&lt;/a&gt;',    
];


it spits it out with the tags written out. It shows

&lt;a href="test1"&gt;test 1&lt;/a&gt;&lt;a href="test2"&gt;test 2&lt;/a&gt;&lt;a href="test3"&gt;test 3&lt;/a&gt;


instead of showing 

test 1 test 2 test 3

Is there a way to use html tags inside rows of a table element in a render array?

UPDATE: 
I've also tried

'#rows'    =&gt; [
                        'test 1'  =&gt; [
                            '#type'  =&gt; 'html_tag',
                            '#tag'   =&gt; 'h1',
                            '#value' =&gt; 'Test 1',
                        ],
                        'test 2'  =&gt; [
                            '#type'  =&gt; 'html_tag',
                            '#tag'   =&gt; 'h1',
                            '#value' =&gt; 'Test 2',
                        ],
                        'test 3'  =&gt; [
                            '#type'  =&gt; 'html_tag',
                            '#tag'   =&gt; 'h1',
                            '#value' =&gt; 'Test 3',
                        ],
                    ],


But that returns a table with 3 rows and 3 columns that say

'html_tag' 'h1' 'Test 1'

'html_tag' 'h1' 'Test 2'

'html_tag' 'h1' 'Test 3'

Instead of actually producing an html tag.
Try creating the links using function Drupal::l,

For example,

$url = Url::fromUri('http://example.com/');
$link1 = \Drupal::l(t('Link1'), $url);
$url = Url::fromUri('http://example.com/');
$link2 = \Drupal::l(t('Link2'), $url);
$url = Url::fromUri('http://example.com/');
$link3 = \Drupal::l(t('Link3'), $url);
$rows = [
  array(
    $link1,
    $link2,       
    $link3,  
  ),
];
$header = [
    'header 1',
    'header 2',
    'header 3',
];
$render['table'] = [
  '#theme' =&gt; 'table',
  '#header' =&gt; $header,
  '#rows' =&gt; $rows,
]; 


To add other html tags to table , you can use Drupal markup element and renderer service,

$element['#markup'] = '&lt;span&gt;Example Span Tag&lt;/span&gt;';
$span_tag = \Drupal::service('renderer')-&gt;render($element);