From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7+) Gecko/20020108 BuildID: 2002010808 A image gallery package someone at our site was looking at uses <!FILENAME> as a placeholder. Chances are that you can't see that - it's <!FILENAME> When viewing HTML containing that (such as in a administration form to update config) mozilla is changing (even for view-source) the content to be <!- ILENAME> (<!- ILENAME>) I'm not sure if those first three chars are reserved for special handling, but regardless, mozilla shouldn't be changing the content as displayed in the view-source window. Reproducible: Always Steps to Reproduce: 1.Create an html file containing <!FILENAME> (put actual entities in file) 2.Open that HTML file 3.View source Actual Results: You'll see the altered content. Expected Results: Should see content exactly as typed in the view source window. NS 4.x and IE can view it without content being altered.
This must live somewhere in quirks mode comment code. As a workaround for the time being, try using real comments <!-- FILENAME --> rather the current corruption of a markup declaration.
Yeah, that's similar to what we did. Problem is that this is a vendor supplied product with pretty weak template processing. (Exact string substitution only.) We were willing to go make all the code changes necessary to change the strings for how it does it's templating, others likely wouldn't be.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: compat, testcase
Mass move to 1.1
Target Milestone: --- → mozilla1.1
Looks like this has been fixed.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.