Handle quotes in attributes