Why is data-quickedit-entity being printed in plain text when I'm signed in?
This line prints the attributes in plain text:

{{ attributes.removeClass(classes) }}


If you want to remove classes without printing then use set:

{% set attributes = attributes.removeClass(classes) %}