Html <img> element is not on separate line after export

Using 8.0.1. Create a design with a div element with an img element inside it. In the HTML panel, the code is correctly formatted, with the img tag on a separate line, indented under the div tag. Export the page, then view the .html file - the img tag is no longer indented but is on the same line as the div tag. This happens no matter what tag preceeds the img tag.