GAH! I HATE that Firefox automatically closes what it thinks are html tags when you view source. That screwed a good hour out of my life
Example, save an html page with:
<test<br>
Open in FF, view source. What do you see?
<test><br>
HELLO! Thats NOT the correct source of that file. Sure, you may wish it was… but its not. How about… don’t do that?
I went to the FF forums but when I searched I kept getting over 100 posts for my terms and on top of that Im using ver 9 (not 1.0 PR) so it may not exist in the final version… can anyone check up on that for me?
Well i don’t remeber seeing thta happen in my fierfox but all these flaws in everyone elses firefoxes is starting to make me thing maybe i should permanantly use IE
Hmm… this bug annoys me a little as well. It’s exactly the same issue as one I bug reported - you serve XHTML documents as text/html not text/xml and firefox turns <br /> into <br> (it’s not fixed in 1.0PR, either :-/)
It’s to do with the way the text in the “View Source” is produced. Basically, it’s actually generated from the parsed structures in the browser - it’s not actually just the text in the page.
I just tried it in 1.0PR and your right it does fix it for you.
Funny cause I pasted it into Dreamweaver and it highlights it yellow as a tag error in the view screen.
Save it and open it and it is gone, go to view source and it’s been fixed…
Although how you lost a hour makes no sense to me :h:
If you open the page in firefox it will display correctly so you wouldn’t be checking for errors.
If you were debuging then wouldn’t you be using Dreamweaver or some other HTML editor which would show you the unclosed tag ?
Im not trying to make a < in the html - it was right the way it was. Firefox just showed it as being wrong and that made me go back and try to figure out what was wrong even though nothing was.