I've discovered a bug in IE6 and IE5 (and probably earlier/later). If you
have a text file (name doesn't matter, let's call it test1.txt) that looks
like this:
<b>not bold</b><s>not strikethrough</s>
Accessing the file in IE (for instance,
http://localhost/test1.txt) outputs
the file correctly with no formatting.
If, however, you have a <table> tag (or anything that starts with "<table",
like "<tableeeee", or "<tablefgh"), IE formats ALL the tags it finds!
Here's a file to demonstrate (test2.txt)
<b>not bold</b><s>not strikethrough</s><tablefghijkl
Accessing the file (
http://localhost/test2/txt) causes the problem described
above!
Isn't it just typical that the project I'm working dishes out massive text
files containing <table> tags. We're using IIS but don't want the overhead
of HtmlEncoding these huuuuuuge files. Looks like it's the only work-around
though!
Thanks,
Steve.