To make reviews on GitHub better, I have turned on Hard line breaks. However, hard line breaks seem to be inserted completely freely (outside of literal-type elements), which results in cases where it breaks a tag or an attribute in two, for example:
Code: Select all
are described in <xref
While of course this doesn't break the xml, it is really ugly and could raise some exceptions, as custom parsers and search and replace operations might not be prepared for such a case.
I have looked for any possibility in Oxygen Author 22.1 to avoid this, with no success. Of course, I could have a setting to insert a hard line break before every inline element, but that would result in too many line breaks.
Is there actually a way to solve this? Or does it need to be requested as a feature?