mirror of
https://github.com/yuin/goldmark
synced 2025-03-04 23:04:52 +00:00
fix tests
This commit is contained in:
parent
2367b9ff46
commit
dc2230c235
1 changed files with 2 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ func TestEastAsianLineBreaks(t *testing.T) {
|
|||
No: no,
|
||||
Description: "Soft line breaks between a western character and an east asian wide character are rendered as a newline",
|
||||
Markdown: "太郎は\\ **「こんにちわ」**\\ と言ったa\nんです",
|
||||
Expected: "<p>太郎は\\ <strong>「こんにちわ」</strong>\\ と言ったaんです</p>",
|
||||
Expected: "<p>太郎は\\ <strong>「こんにちわ」</strong>\\ と言ったa\nんです</p>",
|
||||
},
|
||||
t,
|
||||
)
|
||||
|
|
@ -152,7 +152,7 @@ func TestEastAsianLineBreaks(t *testing.T) {
|
|||
No: no,
|
||||
Description: "Soft line breaks between an east asian wide character and a western character are rendered as a newline",
|
||||
Markdown: "太郎は\\ **「こんにちわ」**\\ と言った\nbんです",
|
||||
Expected: "<p>太郎は\\ <strong>「こんにちわ」</strong>\\ と言ったbんです</p>",
|
||||
Expected: "<p>太郎は\\ <strong>「こんにちわ」</strong>\\ と言った\nbんです</p>",
|
||||
},
|
||||
t,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue