Function haml::to_html[][src]

pub fn to_html(haml: &str) -> String

Converts the Haml that is contained in a reference string into an owned string.

Example

use haml;
let html: String = haml::to_html("%span");