
Hello Chris, There is no option to force that in empty elements the slash remains on the same line as the last attribute. There is the format option "Add space before slash in empty elements" available in Preferences -> Editor -> Format -> XML that when is disabled forces that no space is added between the last attribute and the slash. However if the maximum line width set in Preferences -> Editor -> Format is exactly at the slash character then a line break is inserted before the slash. You can keep the slash on the same line by changing the line width option. Regards, Sorin Chris Chiasson wrote:
Sometimes, when using the format + indent element on a <para>, oXygen will indent the XML as follows:
blah blah blah <olink targetdoc="self" targetptr="Engineering_Optimization_Main_Code" /> blah blah blah blah blah blah blah blah blah
I'd prefer:
blah blah blah <olink targetdoc="self" targetptr="Engineering_Optimization_Main_Code"/> blah blah blah blah blah blah blah blah blah
Is it possible to instruct oXygen to do what I prefer?