fix: render code block without language (#276)

This commit is contained in:
三咲智子 Kevin Deng 2022-12-02 10:19:31 +08:00 committed by GitHub
parent 18d5fd4804
commit 0f06653636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 7 deletions

View file

@ -25,6 +25,22 @@ exports[`content-rich > code frame 2 1`] = `
"
`;
exports[`content-rich > code frame empty 1`] = `
"<p></p>
<pre></pre>
<br />
<p></p>
"
`;
exports[`content-rich > code frame no lang 1`] = `
"<p></p>
<pre>hello world</pre>
<br />no lang
<p></p>
"
`;
exports[`content-rich > custom emoji 1`] = `
"Daniel Roe
<img