Function comrak::html::write_opening_tag
source · pub fn write_opening_tag<Str>(
output: &mut dyn Write,
tag: &str,
attributes: impl IntoIterator<Item = (Str, Str)>
) -> Result<()>
Expand description
Writes an opening HTML tag, using an iterator to enumerate the attributes. Note that attribute values are automatically escaped.