refactoring notes_parser to be generic mixed_content_parser. Also adding more tests to handle mixed content in views and export