To DIV perchance
To SPAN or not

Expected output (also, see console):
A's template
div content:
To DIV perchance
span content: To SPAN or not