[mdlug] (no subject)

Raymond McLaughlin driveray at ameritech.net
Wed Jan 10 05:13:23 EST 2007


Wolfger wrote:
> On 1/10/07, Raymond McLaughlin <driveray at ameritech.net> wrote:
>> Wolfger wrote:
> 
>>>> Same thing in Opera. I anxiously await your code fixes for Firefox
>>>> and Opera. :)
>>> Firefox and Opera are working fine. It's whatever or whoever made
>>> those archives that's at fault, for putting "PRE" tags around the
>>> message text. The browsers are just doing what the HTML is telling
>>> them to do. Although I bet some genius could present a GreaseMonkey
>>> script to "fix" this.
>> I'm not sure what a GreaseMonkey script could do, but it would have to
>> be pretty clever. *Just* loosing the PRE tags alone will not fix the
>> probelm. I jumped on the server and redid the January archives with
>> these tags removed here:
>> <http://mdlug.org/pipermail/mdlug/January/000481.html>
> 
> In addition to s/<pre>//g and s/<\/pre>//g, we also need s/\n/<br>/g
> and s/ /\&nbsp\;/g (replace newlines with br tags and replace spaces
> with non-breaking spaces) to properly HTML-ify the original text.
> Okay... there may be more to it than that, but that's what's evident
> to me at 5AM on 3 hours of sleep with a toothache.

Thanks for the input, I'll look at this when I get the chance.
Raymond McLaughlin



More information about the mdlug mailing list