Support references in HTML5Writer
Support definitions in HTML5Writer