Skip to content

Escaping of quotes and <> in code blocks is broken #19

Description

@lidel

If we have:

```console
[..]
$ curl "http://127.0.0.1:8080/ipfs/$DIR_CID?format=tar" | tar xv
[..]
```

Then it produces:

<div class="remark-highlight"><pre class="language-console"><code class="language-console">
[..]
$ curl &amp;quot;http://127.0.0.1:8080/ipfs/$DIR_CID?format=tar&amp;quot; | tar xv
[..]
</code></pre></div>

because of <pre> it show up mangled in browser, see https://specs.ipfs.tech/ipips/ipip-0288/#user-benefit

2023-06-19_19-14

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions