spacer = isSpacer(last) ? last.<BRElement>cast() : Document.get().createBRElement();
setupSpacer(paragraph, spacer);
} else if (isSpacer(last) && last != spacer) {
// The browser put a different one in by itself, so let's use that one
if (spacer.hasParentElement()) {
spacer.removeFromParent();
}
spacer = last.<BRElement>cast();
setupSpacer(paragraph, spacer);
}
return spacer;