void () { final HtmlCodeStyleSettings settings = getHtmlSettings(); settings.HTML_SPACE_INSIDE_EMPTY_TAG = true; doTextTest(""" <div class="emptyWithAttributes"/> <div/> <div class="notEmpty"></div>""", """ <div class="emptyWithAttributes" /> <div /> <div class="notEmpty"></div>"""); }