Trim quote and set path alias for new quotes.