Copy link to clipboard
Copied
I've just upgraded to FM2019 and started exploring the possibilities of using XML as a source format. As a basic test I created a simple standard DITA Topic XML file, but how come FM formats the same XML file differently when saving it from different views? When saving it from the XML view, the resulting XML file gets a nice readable formatting with separated tags and indentation, but when saving it from the author or WYSIWYG views the rows in the file are compressed in some random way (based on row length?). Obviously, the more readable format is preferrable, for example when doing a "diff" in any file versioning tool, but at least I would have expected FM to use consistent formatting of the XML file. Hopefully I'm missing something simple here.
Copy link to clipboard
Copied
I'll follow this thread with interest, as I may be taking another look at FM for DITA soon.
Anecdotally, and if I've read you correctly, I can mention that my usual DITA environment behaves much the same way: no problem with the WYSIWYG view, but as soon as I change to Code view the lines are ruthlessly chopped up. Sometimes, to make it even odder, it will show an end tag and the next start tag on the same line. I'm assuming this is a quirk of the text editor component.