edit_common
pub fn doc_as_html(doc: &DocSpan<RtfSchema>) -> String
Converts a DocSpan to an HTML string.