Hello, Mr.Richard.
I'm very sorry I'm late for your response.
I see what you mean. Thank you.
And now, I have another question.
HTML Tidy transforms a line in html content like below A to a line in xml content like below B.
A.
<A>AAAAAAA
B.
AAAAAAA
<A> is lost by HTML Tidy.
I want HTML Tidy to transform a line A to a line A.
When <A> tag has an attribute like 'href' or 'name', HTML
Tidy keeps <A> tag.
But, when <A> tag does not have an attribute, HTML Tidy
deletes <A> tag.
What should I do if HTML Tidy keeps <A> tag when <A> tag
has no attributs?
Best Regards.
"Richard A. O'Keefe" wrote:
> Hiroyuki Okamoto is worried about Tidy changing
> <pre>AAAAAAA
> </pre>
> to
> <pre>
> AAAAAAA
> </pre>
>
> He should not be. HTML is an application of SGML, and
> linebreaks immediately after start tags
> or immediately before end tags
> ARE NOT REALLY THERE as far as SGML is concerned.
>
> The two examples are required to behave identically. What's more,
> they are both identical to
> <pre>AAAAAAA</pre>
> and
> <pre>
> AAAAAAA</pre>
>
> XML has different rules, so if this were an XML to XML transformation
> it would be a real problem. But for HTML it is not.