feat: init renderer server (#8088)
This commit is contained in:
4
packages/backend/native/src/html_sanitize.rs
Normal file
4
packages/backend/native/src/html_sanitize.rs
Normal file
@@ -0,0 +1,4 @@
|
||||
#[napi]
|
||||
pub fn html_sanitize(input: String) -> String {
|
||||
v_htmlescape::escape(&input).to_string()
|
||||
}
|
||||
Reference in New Issue
Block a user