Improved quirks mode: Clean up spaces in end of path elements