node-html-to-text
                                
                                 node-html-to-text copied to clipboard
                                
                                    node-html-to-text copied to clipboard
                            
                            
                            
                        Get text of elem from within formatters function
I'd like to get at the text that is parsed for each element. I have a formatter function for format: a and format: *. I want to be able to get the text that is walked from within the function. How do I do so? I thought I could do text = walk(elem.children, builder), but it keeps coming back undefined.