About
Contact
QtCreator
KDevelop
Solarized
1
pub
fn
escape_html
(
s
: &
str
) ->
String
{
2
s
.
replace
(
"&"
,
"&"
)
3
.
replace
(
"
\"
"
,
"""
)
4
.
replace
(
"<"
,
"<"
)
5
.
replace
(
from:
">"
,
to:
">"
)
6
}
7