You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data
`<p><span style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">"Come on, let's explore more of the park."</span><em style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;"> Lumi said, her hand still outstretched towards Malek, inviting him to join her on their shared adventure. </em><span style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">"There's so much more to see and experience together."</span></p>\n<p><em style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">With a teasing glint in her eyes, she added, </em><span style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">"And maybe we'll meet a few more ~pretty sisters~ along the way."</span></p>\n`
mconverted.parse(data)
`<p><span style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">"Come on, let's explore more of the park."</span><em style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;"> Lumi said, her hand still outstretched towards Malek, inviting him to join her on their shared adventure. </em><span style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">"There's so much more to see and experience together."</span></p>\n<p><em style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">With a teasing glint in her eyes, she added, </em><span style="font-family:'나눔스퀘어'; line-height:1.5em; font-style:normal;">"And maybe we'll meet a few more ~pretty sisters~ along the way."</span></p>\n`
data===mconverted.parse(data)
true
mconverted.parse("ll meet a few more ~pretty sisters~ along the way.")
'<p>ll meet a few more <del>pretty sisters</del> along the way.</p>\n'
this is a log of chrome debug console in function ParseMarkdown.
As you can see, If sentence "ll meet a few more ~pretty sisters~ along the way." is in a html tags, ~pretty sisters~ is not convert to markdown.
I guess we need to recursively convert only text content to markdown or find a better library.
I'm sorry, but I don't have time to fix this right now
The text was updated successfully, but these errors were encountered:
I apologize if I only input html as a parameter in my code. Anyway, I've created a new function that takes node as an parameter.
If you don't think it's a real issue, you can close the issue now
this is a log of chrome debug console in function
ParseMarkdown
.As you can see, If sentence
"ll meet a few more ~pretty sisters~ along the way."
is in a html tags,~pretty sisters~
is not convert to markdown.I guess we need to recursively convert only text content to markdown or find a better library.
I'm sorry, but I don't have time to fix this right now
The text was updated successfully, but these errors were encountered: