Escape dropdown

Fixes #3241
Merge pull request #3896 from owncloud/fix-dropdown-because-no-one-fixes-3241

Escape dropdown