// Use a space
linksDom.setElementIsPreFormatted(true);
linksDom.writeText(" ");
} else {
// Else, use line break for default/vertical alignment.
ctx.doLineBreak(linksDom, new LineBreakAttributes());
}
} else {
// Then render the fragment link as a child link.
// This means rendering the text of the link inside a "fake" pane
// element, which is required to provide geometry information.