Skip to main content

split_content_fragments

Function split_content_fragments 

Source
fn split_content_fragments(html: &str) -> Vec<ContentFragment>
Expand description

把服务端渲染的文章 HTML 拆成 Html / Runnable 片段序列。

HTML 实体(&quot; &#x27; &amp; &lt; &gt;)会被解码还原为原始字符。