word document with bullets problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pradeepa
Forum Newbie
Posts: 7
Joined: Sun Mar 01, 2009 11:33 pm

word document with bullets problem

Post by pradeepa »

Hi friends,

I got one problem.
I copied the content from Msword and pasted it in WYSIWYG editor.
The content contains bullets.
Iam storing that content into database and displaying it in browser.
In mozilla the bullets are displaying in different format.
And in IE it is printing like this
<!--[if!supportLists]--><!--[endif]-->

how to resolve this error?
Please give me the solution............. :(
User avatar
omniuni
Forum Regular
Posts: 738
Joined: Tue Jul 15, 2008 10:50 pm
Location: Carolina, USA

Re: word document with bullets problem

Post by omniuni »

Micro$oft word is notorious for generating terrible HTML. It is trying to use some kind of IE conditional, and failing.

First, check your WYSIWYG editor for a "clean up source from Word" button. It's such a common problem that most decent WYSIWYG's have such a button just for this. Clean the code and then save it. You can also copy and paste the code into Notepad and then into your WYSIWYG editor. You'll need to dress it up again later, but at least you'll not have all the issues with the bullets.

Good Luck,
OmniUni
Post Reply