Divs should create a p if nothing above them has and nothing below them will In the following situation: div h2 span textnode p The div template will not create a w:p because the div contains a h2. Therefore we need to wrap the span|a|small in a p here. In the following situation: div h2 textnode p The div template will not create a w:p because the div contains a h2. Therefore we need to wrap the textnode in a p here. magenta cyan darkYellow