[mdlug] (no subject)
Wolfger
wolfger at gmail.com
Wed Jan 10 04:57:32 EST 2007
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/ /\ \;/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.
--
Wolfger
http://randomsynapsefiring.eponym.com/
AOL IM: wolf4coyot
Yahoo!Messenger: wolfgersilberbaer
Skype: wolfger88
More information about the mdlug
mailing list