Html comments being displayed on page in IE6 after using point-and-click editor!
Here is a screenshot: http://compsci219.pbwiki.com/f/bugWit...
And here's some of the original pages that I've noticed to be displaying crazily in IE 6:
http://compsci219.pbwiki.com/SRS
and
http://compsci219.pbwiki.com/SRStemplate
The more people who report this problem, the more it gets noticed.
-
Inappropriate?HMM. That doesn't look good. I'm submitting a bug report now, and will try to have someone who knows more than "That's not good" in here with an answer.
A note on the pages you said displayed wonkily in IE6 - I noticed you were using < >'s to contain descriptions under your headers. Could that be part of the issue?
I’m thinking....
-
Inappropriate?I never saw those "<!-- [if !supportLists] --> 5 <!-- [endIf] -->" tags before today, I have no idea where they're from.
Looking at the errant tags closely, though, there's a tag "<!--[if !mso]--> " in there, which probably refers to MicroSoft Office, so I guess that those tags were copied and pasted over into the point-and-click editor from the original word doc that I got them from. The information on the page was originally copied and pasted from a word doc (http://compsci219.pbwiki.com/f/softRe...), so I guess that they must have come over from the word .doc file originally, but I didn't even know that something was wrong for the past few weeks, until I checked out the page in IE today.
It's still kinda problematic because they are completely invisible to me in the text inside the editor (both IE and Firefox), yet they show up on the page when viewed in IE. As a result, short of completely rewriting those very long pages, it looks like it might be a pain to try to remove those strange comment blocks, since I can't see them anywhere to edit them.
I’m not looking forward to having to remove invisible things.
-
Inappropriate?I'm thinking the ones that talk about lists have to do with the numbering, like it was created by using the numbered list tool in the editor or in MS Office/Word and pasted in, and it's just reacting badly with IE6.
Same with the [if!mso] tag, that the way it was pasted into the editor had something that makes IE6 upset.
Have you tried clicking the "source" button and checking things out there? I know the HTML will probably look pretty scary, but you could probably do a Find and Replace search, and that might help.
You other option might be to just delete and re-type anything that has those weird tags, and hope they come out okay, since they'll be created inside the editor, and not pasted from elsewhere.
I’m sorry I don't have an easy answer
1 person says
this solves the problem
-
Inappropriate?Ah, thank god, problem solved, I didn't even realize that in all those buttons there was a "source" button, but once I used that I could find and delete those tags specifically, as you said, so that's dealt with.
So that's that.
I guess the only thing left is to suggest that whatever it was that was forcing those html comments to show up should display in the "point and click editor" when you're editing the page, since it actually becomes visible on the webpage in some browsers (or, at least, IE6). Not sure what the code was that was causing those html comments to show up, but here is a line of the code that was doing it, I could post it into to "suggestions" if necessary:
<o:wrapblock><v:shapetype><v:stroke><v:path></v:path><v:shape type="#_x0000_t202"><v:textbox><!--[if !mso]--> </v:textbox></v:shape></v:stroke></v:shapetype></o:wrapblock>
I’m likin' the edit source button.
-
Inappropriate?Yeah, that code looks pretty nasty. I'm glad you were able to figure it out though!
I’m a fan of Open Office, myself
1 person says
this solves the problem
-
Inappropriate?Yeah, this is a complaint people have had about Microsoft Word across the WYSIWYG editing world, and presumably, newer versions of Word are better, but I don't really believe it.
If your text doesn't have important formatting, I would really suggest pasting it into NotePad or something, then copying that raw text back out into your wiki.
Otherwise, you might try Open Office, as Casey suggested.
I’m a fan of fans of Open Office
Loading Profile...





EMPLOYEE