Reset Ugly In-line XML Code Flow to Nice, Nested Flow

This forum is for all Flare issues not related to any of the other categories.
Post Reply
fadibitz
Propeller Head
Posts: 26
Joined: Tue Jun 26, 2012 4:16 am

Reset Ugly In-line XML Code Flow to Nice, Nested Flow

Post by fadibitz »

Hey folks,

When I went into the XML editor of one of my topics, I found the text flow to be a mess. Let me demonstrate what I mean.

What normally looks like this:

Code: Select all

<table>
  <tr>
    <td>Data</td>
    <td>Data</td>
  </tr>
  <tr>
    <td>Data</td>
    <td>Data</td>
  </tr>
</table>
...now looks like this:

Code: Select all

<table><tr><td>Data</td><td>Data</td></tr><tr><td>Data</td><td>Data</td></tr></table>
With all the appropriate HTML parameters and CSS classes and selectors in the actual code--not to mention that line lengths of over 2000 characters are now common, it's basically unreadable.

Does anyone know of a Flare tool to clean up the presentation?

I'd rather not have to copy the code to another tool, clean it up there, and then re-import it into the document, but if I must, I must.

Thanks
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: Reset Ugly In-line XML Code Flow to Nice, Nested Flow

Post by Msquared »

FAR HTML to replace every</p > with </p> CR LF? And for other tags that you want to be followed by a new line.

Once you have got each paragraph etc on a separate line, I think you'll find Flare will automatically tidy up the justification the next time the topic is edited. Perhaps someone can confirm whether I'm imagining that Flare does that?
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
Post Reply