Fix a bug with trailing closing markup and clean attributes.
Fix a bug with trailing closing markup and clean attributes.

vcgato29/Central,Metalaka/Central,vcgato29/Central,Grummfy/Central,Grummfy/Central,Metalaka/Central