Sign in
android
/
toolchain
/
rustc
/
d59a28787b7ba06edbd1e4528a42b66d67dc6a19
/
.
/
vendor
/
gsgdt
/
src
/
util.rs
blob: f6fcf08f652db9e2fe8077273978d6211b3bb97b [
file
] [
log
] [
blame
]
pub
fn
escape_html
(
s
:
&
str
)
->
String
{
s
.
replace
(
"&"
,
"&"
)
.
replace
(
"\""
,
"""
)
.
replace
(
"<"
,
"<"
)
.
replace
(
">"
,
">"
)
}