escape titles in attributes