Obsidian Webview cant save code

What I’m trying to do

I try to save a html to local,but the code cant save.

like this:

Things I have tried

What’s your goal of doing that?

If you want to execute javascript within Obsidian there are plenty of plugins providing support for that, and if you want to do it when publishing there a ways of doing that too using publish.js.

Or if you just want to display code you can use code blocks surrounding your code.

```java
System.out.println("Hello world")
```

i want to save the html that i’m reading and save to loacl to write. but the code in the html cant be saved. i mean after i saved the html to md, the place that should have been the code is empty

this is source page

this is saved,it is empty
image

or maybe it is err in the souce page , i dont konw

It kind of possibly sound like that there is something strange in the source page, but I don’t really understand what’s happening.

See https://help.obsidian.md/web-clipper/troubleshoot#Some+content+is+missing.