Turn head_attributes tag into a one-liner [RD-49]