Blankspaces incorrectly rendered into HTML formats after LaTeX embed in Live Preview

I am using the sandbox vault to reproduce this bug.

Actual result


  • Operating system: windows 10
  • Debug info:SYSTEM INFO:
    Obsidian version: v1.1.9
    Installer version: v1.0.3
    Operating system: Windows 10 Home China 10.0.19045
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: light
    Community theme: none
    Snippets enabled: 0
    Restricted mode: on


Additional information

because they are not simple spaces, in your input you probably have Non Breaking Spaces

If you can attach copies of these two files here.