Line breaks and empty spaces added when merging
Posted: Fri Aug 05, 2022 2:23 pm
Hi,
we're usually working without line breaks in our DITA Topics, because this can cause issues in our translation tool.
We therefore have used the following setting in the Oxygen XML preferences: Editor > XML> Elements Spacing and added "menucascade" to the Mixed Content tab.
However, now it looks as if Content Fusion doesn't like this setting. The following happens:
When I make a change in a paragraph that contains a menucascade and its child elements, upon merge there are empty spaces added between those elements.
Example
Original:
As soon as I edit the topic as a reviewer in Content Fusion, the XML looks like this:
If the author accepts the changes, the line breaks are kept and upon merge, spaces appear between the elements (see attachment).
If I remove the spacing setting from the preferences, this doesn't happen.
At first, we thought that comments in Content Fusion cause this issue. However, even making a change to the text without any comments causes this.
Any ideas why this happens? Is there anything that I can configure in Oxygen or in Content Fusion that prevents this?
Normally, I would say that I just remove the setting from the preferences. However, I don't know what will happen to other files when I do this. Unfortunately, I cannot go through thousands of files to see what removing the setting would do. And I wouldn't know how without opening all of them.
Thanks,
Christina
we're usually working without line breaks in our DITA Topics, because this can cause issues in our translation tool.
We therefore have used the following setting in the Oxygen XML preferences: Editor > XML> Elements Spacing and added "menucascade" to the Mixed Content tab.
However, now it looks as if Content Fusion doesn't like this setting. The following happens:
When I make a change in a paragraph that contains a menucascade and its child elements, upon merge there are empty spaces added between those elements.
Example
Original:
Code: Select all
<p>[...] select <menucascade><uicontrol>Transport</uicontrol><uicontrol>Metronome Setup</uicontrol></menucascade> and [...]
Code: Select all
<p>[...] select <menucascade>
<uicontrol>Transport</uicontrol>
<uicontrol>Metronome Setup</uicontrol>
</menucascade> and
<?oxy_delete author="Christina" timestamp="20220805T100225+0000" content="open"?><?oxy_insert_start author="Christina" timestamp="20220805T100225+0000"?>close<?oxy_insert_end?>
the <wintitle>General</wintitle> page.</p>
At first, we thought that comments in Content Fusion cause this issue. However, even making a change to the text without any comments causes this.
Any ideas why this happens? Is there anything that I can configure in Oxygen or in Content Fusion that prevents this?
Normally, I would say that I just remove the setting from the preferences. However, I don't know what will happen to other files when I do this. Unfortunately, I cannot go through thousands of files to see what removing the setting would do. And I wouldn't know how without opening all of them.
Thanks,
Christina