Wrap for attribute in quotes.

Fixes #1249.