Skip to main content

render_served

Function render_served 

Source
pub fn render_served() -> String
Expand description

render as a browser must be sent it to build the same page: a control’s state is spelled the way HTML’s parser reads it back — a <select>’s value as its selected option, a <textarea>’s as its content — and content a parser would lose a leading newline of carries one more. What largo build puts in a pre-rendered page’s body.