HTML tables render differently in Live Preview mode than in Reading Mode

Steps to reproduce

Insert the following text into a note and switch between live preview and reading mode


### HTML Table
<table>
  <tr>
    <th>Company</th>  
    <th >Contact</th>  
    <th>Country</th>  
  </tr>  
  <tr>  
    <td> Futterkiste</td>  
    <td>Maria Anders</td>  
    <td>Germany</td>  
  </tr>  
  <tr>  
    <td>Centro comercial Moctezuma</td>  
    <td>Francisco Chang</td>  
    <td>Mexico</td>  
  </tr>  
</table>


### Markdown Table
| Company                    | Contact         | Country |
| -------------------------- | --------------- | ------- |
| Futterkiste                | Maria Anders    | Germany |
| Centro comercial Moctezuma | Francisco Chang | Mexico  |

Live Preview

image

Reading Mode

Obsidian_tZploTkgFf

Expected result

I would expect the rending of the table to be consistent between modes, instead of changing the HTML rendering when swapping to and from live preview

Environment

Reproduced in a sandbox vault for obsidian 1.2.7

SYSTEM INFO:
	Obsidian version: v1.2.7
	Installer version: v1.2.7
	Operating system: Windows 10 Education 10.0.19044
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none

Additional information

2 Likes

thanks