Output white class only if $attr = white
extra period
oops another period
one last extra period, banished!