mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: heading render
This commit is contained in:
@ -18,6 +18,10 @@ func TestHTMLRender(t *testing.T) {
|
||||
text: "Hello world!",
|
||||
expected: `<p>Hello world!</p>`,
|
||||
},
|
||||
{
|
||||
text: "# Hello world!",
|
||||
expected: `<h1>Hello world!</h1>`,
|
||||
},
|
||||
{
|
||||
text: "> Hello\n> world!",
|
||||
expected: `<blockquote>Hello<br>world!</blockquote>`,
|
||||
|
Reference in New Issue
Block a user