Remove trailing space from "true " attr value