Function haml::to_html

source ·
pub fn to_html(haml: &str) -> String
Expand description

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

Example

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