Skip to main content

clean_comment_html

Function clean_comment_html 

Source
pub(crate) fn clean_comment_html(input: &str) -> String
Expand description

清洗评论 HTML,移除危险标签与属性。

实际委托给 crate::api::sanitizer::clean_comment_html 实现。