Text should take priority over attributes