[BUG] Blocks of code not recognized in webpage by WebClipper

When I save simplified version of this webpage the blocks of code are not recognized.
In markdown I get this:

    <HostFolder>path to the host folder</HostFolder>
    <ReadOnly>value</ReadOnly>
    </MappedFolder>

Instead of this

```
<MappedFolder>
    <HostFolder>path to the host folder</HostFolder>
    <ReadOnly>value</ReadOnly>
    </MappedFolder>
```

The problem with HTML code blocks is that there’s no standard to insert them so it is difficult to detect them and convert them to Markdown. I’m thinking I could add a condition that if the block is <pre> and the styling has monospace font, it is a code block.

2 Likes