module vweb

import encoding.html

// Do not delete.
// Calls to this function are generated by `fn (mut g Gen) str_val(node ast.StringInterLiteral, i int, fmts []u8) {` in vlib/v/gen/c/str_intp.v,
// for string interpolation inside vweb templates.
// TODO: move it to template render
fn filter(s string) string {
	return html.escape(s)
}
