Quarto doesn't allow to use markdown table in beamer presentations

Markdown table isn't working with format: beamer, but it work with format: pdf and format: html.

Here it is a simple example of my code:

---
title: titulo
author: autor
institute: instituto
fontsize: 12pt
lang: pt
format: beamer
---

## slide 1

some text

|tabela|teste|
|:---|:---|
|valor|valor|   


## slide 2

aaa

The error that was prompted is this:

ERROR: 
compilation failed- error
Undefined control sequence.
\@currentHref ->table.\theHtable 
                                 
l.196 \end{frame}
                  

see slides.log for more information.

When I remove the markdown table, the slides' file is created and everything works.

This has also been reported in Github

Thank you, the solution presented there worked for me.