You can use replace to eliminate those extra characters, please refer to my logic app.
Expression:
replace(replace(replace(replace(variables('html'),',',''),'[',''),']',''),'"','')
==================update================
This seems to have no border, you may need to specify the border style.
<style>
#testID table, table th, table td {border: 1px solid #F00}
</style>
<div id="testID">
<your-html>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…