Closed ponkore closed 8 years ago
Using Cryogen with {:previews? true}, the preview page (index.html) corrapsed when post contains more marker.
content-with-more-marker returns a HTML string when the content conteins more marker ("").
content-with-more-marker
content
HTML tags in the parameter content is balanced. ex.
<div id='post'> <div class='post-content'> this post has more marker <!--more--> and more content. </div> </div>
But original code, content-with-more-marker function breaks the balance.
result of original code:
<div id='post'> <div class='post-content'> this post has more marker
Afer this patch applied, tagsoup read above text and hiccup re-render to HTML text with correct balanced tags.
tagsoup
hiccup
<div id='post'><div class='post-content'> this post has more marker </div></div>
thanks
Using Cryogen with {:previews? true}, the preview page (index.html) corrapsed when post contains more marker.
content-with-more-marker
returns a HTML string when thecontent
conteins more marker ("").HTML tags in the parameter
content
is balanced. ex.But original code,
content-with-more-marker
function breaks the balance.result of original code:
Afer this patch applied,
tagsoup
read above text andhiccup
re-render to HTML text with correct balanced tags.