[][src]Function sailfish::runtime::filter::trim

pub fn trim<T: Render>(expr: &T) -> Trim<'_, T>

Remove leading and trailing writespaces from rendered results

Examples

<%= " Hello world\n" | trim %>

result:

Hello world