Always set empty array for note resources if no resources
When converting ENML to HTML, propagate element attributes