Make sure quote links are correctly positioned

Sometimes the <p> container they usually go in is removed. Make sure it is
created instead of just finding the next paragraph element.

Signed-off-by: Tim Smart <tim@fostle.com>