From: "John Chambers" <[EMAIL PROTECTED]> > | The double-spaced ones are a nightmare. Have you figured out what > | sequence of events creates them? > > The cases I've looked at have been ABC-in-HTML, which is rarely a > very good idea because of the difficulty of doing it right. I just > looked at one of the new F/C files: > http://www.ibiblio.org/fiddlers/AA_ABEL.htm > > This has several ABC tunes, but my search bot only finds one of them > (Abbots Bromley). I tested the page with several browsers, and some > of them displayed the other tunes as double spaced, while others > showed them as single spaced. Unfortunately, lynx was one that saw > them as double spaced, except for the Abbots Bromley tune. I've been > thinking of filtering HTML pages through lynx as a way of getting > them into a plain-text form. But this wouldn't work for this file. > > I've seen a couple of sites that have ABC-in-HTML with <p> at the end > of each line. This is purposely double spaced, so there's probably no > good fix for it.
If you are talking about filtering the HTML, perhaps this would work for dealing with line endings: 1. remove all CR and LF characters. 2 remove all </p> 3 change all <p> to CR/LF 4 change all <br> to CR/LF I've probably missed something but it's a thought... Jon To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html