A way to inhibit tag reordering?
Simon (simonf@rrg.msk.su)
Wed, 11 Feb 1998 22:20:16 +0300
Hello,
First, I would like to say thanks to the creators of libwww. It gave me
a great way to generate a whole website.
My question is: currently HTML::TreeBuilder does not allow <H?> inside
<CENTER>. It takes a file like this:
Heading
and produces this:
Heading
What will be the most gentle way to change the code to stop such
behavior? I am not even suggesting that this is wrong, all I need is a
strictly individual modification that turns this feature off. I have
located the code snippet that does this, but I am unwilling to make
changes myself (if it works, don't muck with it).
I understand that RFC 1866 prohibits having H? tags inside formatting
tags. I also understand that CENTER is a proprietary non-HTML tag and I
ought to be using stylesheets instead.
But I think that these two facts sort of cancel each other out, and I
would like to have my file unchanged. Also, even though invalid, the
original file displays well in Netscape and MSIE, which is a pretty good
justification.
Sorry if this was already discussed, but I have not found anything
similar at the list archive.
Thanks in advance,
Simon
--
_________ Simon (Vsevolod ILyushchenko)
| x |
| y = e | simonf@rrg.msk.su Life is file...
|_________|
Disclaimer: This is not me. This is just my mailer talking to your
mailer...