Closed rbeezer closed 4 years ago
I read an "expert" who said empty elements should be written as <foo />. Then another "expert" told me the space looked really odd and it should be <foo/>. Could/Should pretty-printing correct my initial bad habit that others have picked up?
<foo />
<foo/>
Empty element now lose their space when prettyprinting.
I read an "expert" who said empty elements should be written as
<foo />
. Then another "expert" told me the space looked really odd and it should be<foo/>
. Could/Should pretty-printing correct my initial bad habit that others have picked up?