Removing carriage returns

Post here questions and problems related to editing and publishing DITA content.
rdelong
Posts: 72
Joined: Tue Oct 21, 2014 10:01 pm

Removing carriage returns

Post by rdelong »

I love the pretty-print feature! It makes the XML structure so readable. However, the extra carriage returns and whitespace (spaces) is causing issues with our CCMS. Is there a way to quickly (i.e. a button) to remove said whitespace and returns from our files, so that they are compact for checkin?
Like an un-pretty-print button.
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: Removing carriage returns

Post by Radu »

Hi Rick,

If you want everything to be on one line, in the Text editing mode select the entire content, right click, "Source->Join and Normalize Lines".

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply