pass along attributes when converting links to styles.