Fixed attribute placement in self closing tag elements.

Change attribute placement to before /