pub fn get_text_for_layout(doc: &Document, node_id: NodeId) -> String
Generate text content from a DOM node for inline layout