Fixed #22267 -- Fixed unquote/quote in smart_urlquote

would put first ) on the previous line (I think that works?)