Issue #2229435 by lauriii, joelpittet, Rade: Clean up the way attributes are printed in field.html.twig.