Hard Break after a span; What does this solve


Just wondering what problem the br hack after a span is supposed to solve. Its caused some small issues for our PDF Output.

That avoids a bunch of rendering and cursor placement issues. You probably shouldn’t generate PDFs from the editable representation in the editor, but use DOMSerializer to create clean HTML without these hacks for that.