diff --git a/vlib/vweb/vweb.v b/vlib/vweb/vweb.v index b3737cad35..53712622ea 100644 --- a/vlib/vweb/vweb.v +++ b/vlib/vweb/vweb.v @@ -100,8 +100,9 @@ pub fn (mut ctx Context) send_response_to_client(mimetype string, res string) bo return true } -pub fn (mut ctx Context) html(s string) { +pub fn (mut ctx Context) html(s string) Result { ctx.send_response_to_client('text/html', s) + return Result{} } pub fn (mut ctx Context) text(s string) Result {